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

Notification

Icon
Error

Options
Go to last post Go to first unread
firamax  
#1 Posted : Sunday, October 28, 2007 5:49:50 AM(UTC)
firamax

Rank: Member

Groups: Member
Joined: 4/15/2007(UTC)
Posts: 25

Dear sirs,

using vb .net 2005 and GM 4, when we try to resize an image and we give large dimension, for example 20000 pixels for width and height, we get 'Unable to commit memory' error. Temporary, we restrict users from entering larger than 12000 pixels for width or height, but this i guess is not a correct solution. Of course resizing with 'normal' sizes(like 3000 or 5000 or 7000 pixels) works perfect.

Having any idea what to do so we don't get this error?

firamax

Alex Kon  
#2 Posted : Sunday, October 28, 2007 3:13:29 PM(UTC)
Alex Kon

Rank: Advanced Member

Groups: Member
Joined: 1/31/2005(UTC)
Posts: 458

Was thanked: 5 time(s) in 5 post(s)
Hello firamax,

This is system restriction of the 32-bit operating system. 20000x20000 image it is about 1.6Gb in memory, and it is practically impossible to allocate continuous region of such size in virtual address space of the process. And there is no matter how much physical memory you have installed on your computer.

Fedor  
#3 Posted : Sunday, October 28, 2007 5:23:12 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
Hello Firamax,

I just want to add that we plan to resolve this problem in future releases.

Best regards,

Fedor Skvortsov

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.