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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Using 4GB Ram On Windows 7 PC With Delphi 2010
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

w2m

USA
1990 Posts

Posted - Jul 13 2013 :  11:22:22  Show Profile  Reply
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

fab

1310 Posts

Posted - Jul 17 2013 :  10:02:07  Show Profile  Reply
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.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: