Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
HenricusMagnus  
#1 Posted : Saturday, December 6, 2008 1:49:47 AM(UTC)
HenricusMagnus

Rank: Member

Groups: Member
Joined: 10/21/2008(UTC)
Posts: 14

Was thanked: 1 time(s) in 1 post(s)
I am recently developing an application that often has to deal with large image files. Can anybody tell me exactly which are the file size limits which GM 5.0 can handle?

- Do these limits depend on the machine's memory capacities (RAM and/or free HD space)

- Is it maybe 10.000 by 10.000 pixels, regardless of the above mentioned params?

Any hint would be highly appreciated.

Best regards from German color space

Henricus Magnus :-)

Dmitry  
#2 Posted : Sunday, December 7, 2008 6:13:00 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello,

32-bit process has 2Gb of address space in Windows, it is limitation of Windows architecture. Suppose you try to load RGB24 image of 10000x10000 pixels. This image will consume 10000x10000x3=300Mb of memory. This is large block of memory and it is not always possible to allocate it. Even if the system shows you much more free memory available, it is still may be lacking of memory. The problem is that this memory block should be linear. But memory is always fragmented (i.e. all the free memory is comprised of a big number of memory portions of different sizes). It is not guarantied that the system will find a memory block of enough size when you try to allocate 300Mb.

To minimize the probability of memory commitment issues you need:

  1. Set big size of swap file (4Gb).

  2. Keep number of loaded into memory bitmaps as less as possible. It means that you should dispose unused bitmaps.

Anyway this problem is resolved in 64-bit version of Graphics Mill.

Edited by user Thursday, December 11, 2008 8:48:04 PM(UTC)  | Reason: Not specified

Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

HenricusMagnus  
#3 Posted : Thursday, December 11, 2008 6:49:59 PM(UTC)
HenricusMagnus

Rank: Member

Groups: Member
Joined: 10/21/2008(UTC)
Posts: 14

Was thanked: 1 time(s) in 1 post(s)
Dmitry,

thank you very much for your answer.

I should maybe really think about running a 64bit OS... Think

Best regards

Henricus

Edited by user Thursday, December 11, 2008 6:56:42 PM(UTC)  | Reason: Not specified

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.