Thread: AmiCDFS Support
View Single Post
Old 26 May 2012, 20:11   #12
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,507
Bug found, it is as simple as running out of process address space on 32-bit Windows. (Found and confirmed using win7 32-bit on vmware)

Unpacking 7z compressed CD image requires 2*unpacked size of memory during unpacking (~1.2G in worst case) and 32-bit Windows single process limit is only ~1.5G or so. (=total of all WinUAE allocations, including memory allocated by other DLLs, must be less than ~1.5G)

Memory allocation failure will be checked correctly in next beta, unpacking will simply fail instead of crashing.

There is not much point in optimizing this because unpacking is still relatively slow process, only mame chd-like compression (that are build from small chunks that can be uncompressed individually) would work in this situation.
Toni Wilen is offline  
 
Page generated in 0.04569 seconds with 11 queries