Jump to content

Not enough memory to load the image (I've read the sticky)


Recommended Posts

Hello,

I use your program and I like it very much. Unfortunately, I have problem with opening a picture file.

Problem Description:

I open the Paint.NET program. Then I click the Open icon or select File, Open from the menu.

I receive an error "Not enough memory to load the image".

Workaround:

When I right click on the file in windows explorer and select Open with Paint.NET the the file is open OK.

Picture details:

Format: JPG (1 layer)

Resolution: 7016x10552

I calculated the memory requirements for this image and it should be approximately 848 MB (I used the calculation found on your web (7016x10552x4)x(1+2)= 888 393 984 bytes))

Physical available memory is about 1.5 GB.

When I open the file by using the workaround then it can be seen that it took the calculated amount 848 MB. There is still some amount of physical memory available as expected.

System details:

CPU: AMD Athlon 64 3200+ (2 GHz)

RAM: 2 GB (4x 512 MB modules, DDR400)

VGA: ATI radeon 1950 Pro with 512 MB VRAM

OS: Windows XP Home 32-bit English w/SP3 + all critical updates

Could you please look at the problem?

note: I have the same problem on PDN 3.5.2, 3.5.1 and 3.36.

Thank you.

Link to comment
Share on other sites

Memory management is not as simple as Empty or Full, so even after the algebra you are unfortunately not guaranteed anything.

The current solution for this is to upgrade to a 64-bit version of Windows. Your CPU supports it. Then the virtual memory manager will have an enormous amount of breathing room in which to find the contiguous blocks necessary.

There is no other workaround at this time for any version of Paint.NET.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Thank you for quick reply. I am not going to buy new license of Windows 64-bit for my old system. That would be waste of money as this is the first problem which can be avoided by using the described workaround. I will definitely use 64-bit system with the next system but this one will stay where it is.

What do you say about the different behavior between opening the file FROM the already running PDN and opening the file WITH the PDN from windows explorer as desribed in the original post?

Link to comment
Share on other sites

What do you say about the different behavior between opening the file FROM the already running PDN and opening the file WITH the PDN from windows explorer as desribed in the original post?

Umm ... I don't know? If you have a workaround that works for you, then go for it.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Added some new information to the sticky.

 

The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.
Amy: But how did it end up in there?
The Doctor: You know fairy tales. A good wizard tricked it.
River Song: I hate good wizards in fairy tales; they always turn out to be him.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...