ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Using 4GB Ram On Windows 7 PC With Delphi 2010

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
w2m Posted - Jul 13 2013 : 11:22:22
Does ImageEn support using up to 4 GB memory on a Windows 7 PC with Delphi 2010 or are you limited to 2 GB memory?

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
1   L A T E S T    R E P L I E S    (Newest First)
fab Posted - Jul 17 2013 : 10:02:07
Having 4 GB memory doesn't always mean you can allocate 4GB buffers. First you should look at the actually usable memory. Read this for more details about "usable" memory.

http://support.microsoft.com/kb/978610

However several other factors can reduce big buffers allocation. The most frequent is the "memory fragmentation" (frequently bitmap allocations and releases). Look here:

http://msdn.microsoft.com/en-us/library/windows/desktop/aa366750(v=vs.85).aspx

and here:

http://bugslasher.net/2011/01/15/memory-exhaustion-even-if-a-large-enough-free-memory-segment-is-available/

Anyway, if ImageEn cannot allocate a single big buffer then it allocates a set of buffers representing each row. It works only when LegacyBitmap = false and you don't use Canvases (TCanvas or TIECanvas).

Of course a 64 bit OS overcomes these problems.