Page 1 of 1

can't open large size jpg in pictview

Posted: 18 Jun 2014, 22:59
by omega
I have a jpg file of 480 MB, pictview can't open it and display the following error: out of memory

Windows built in image viewer can though it took couple of minutes to generate it.

Re: can't open large size jpg in pictview

Posted: 20 Jun 2014, 20:59
by SvA
What are the image dimensions (width, height, color depth).
Are you on x86 or x64 Windows?, 32 or 64 bit AS?

Re: can't open large size jpg in pictview

Posted: 24 Jun 2014, 04:26
by omega
Width: 27419 pixels
Height: 21012 pixels
Color: TrueColor 24Bit
Format: JFIF 1.1
Compression: Lossy + Huffman coding
Size in memory: 1728384084 bytes
File size: 503683764 bytes

OS: Win 7 x64, running AS in 32 bit

Re: can't open large size jpg in pictview

Posted: 24 Jun 2014, 07:04
by Jan Patera
omega wrote:I have a jpg file of 480 MB, pictview can't open it and display the following error: out of memory
Size in memory: 1728384084 bytes
Running AS in 32 bit
Well, this is an expected behavior. 32bit AS can in theory allocate up to 2 GB. Given memory fragmentation and other needs of AS, its plugins and other DLL's loaded into its memory, it is quite unlikely that PV could allocate 1.7GB for a single image.

Re: can't open large size jpg in pictview

Posted: 15 Jan 2016, 12:31
by RoyalB
Hi Jan, I have a 1.4gb image and 32bit AS so I thought I would be fine considering that 1.4gb is below 2gb but I can't open my image either. Does this mean I need to buy more memory?

Re: can't open large size jpg in pictview

Posted: 19 Jan 2016, 13:49
by Jan Rysavy
If you have 4GB RAM, more memory would not help. The problem is probably in PictView allocating large memory blocks. 32bit memory space is fragmented by DLLs, heaps, etc.