can't open large size jpg in pictview

Discussion of bugs and problems found in Altap Salamander. In your reports, please be as descriptive as possible, and report one incident per report. Do not post crash reports here, send us the generated bug report by email instead, please.
omega
Posts: 193
Joined: 09 Dec 2005, 19:21

can't open large size jpg in pictview

Post by omega » 18 Jun 2014, 22:59

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.

User avatar
SvA
Posts: 458
Joined: 29 Mar 2006, 02:41
Location: DE

Re: can't open large size jpg in pictview

Post by SvA » 20 Jun 2014, 20:59

What are the image dimensions (width, height, color depth).
Are you on x86 or x64 Windows?, 32 or 64 bit AS?

omega
Posts: 193
Joined: 09 Dec 2005, 19:21

Re: can't open large size jpg in pictview

Post by omega » 24 Jun 2014, 04:26

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

Jan Patera
Plugin Developer
Plugin Developer
Posts: 707
Joined: 08 Dec 2005, 14:33
Location: Prague, Czech Republic
Contact:

Re: can't open large size jpg in pictview

Post by Jan Patera » 24 Jun 2014, 07:04

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.

RoyalB
Posts: 1
Joined: 14 Jan 2016, 13:04

Re: can't open large size jpg in pictview

Post by RoyalB » 15 Jan 2016, 12:31

Jan Patera wrote:
omega wrote:I have a jpg file of 480 MB, pictview can't open https://pewarriors.com/my-sizegenetics- ... nd-results the sizegenetics extender and 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.
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?
Last edited by RoyalB on 26 Sep 2016, 17:50, edited 2 times in total.

Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5196
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: can't open large size jpg in pictview

Post by Jan Rysavy » 19 Jan 2016, 13:49

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.

Post Reply