Silverfrost Forums

Welcome to our forums

Voice of doom: Stack overflow in 64bit

16 Jan 2020 6:38 #24875

I think the error I started this posting was due to either bug in previous build of Windows, or specifically its incorrect handling of resources. Also possible conflict with NVIDIA driver of course.

Since then I updated only Windows twice first to 1903 and then to current build and have not seen stack problems. But sometimes computer graphics froze if demand for memory was to high while plotting in OpenGL. The screen got black for a minute but mostly recovered losing resolution but without putting the Windows do the knees.

After I manually set Windows from automatic handling pagefile to manual size as high as 200 GB (devoting to it fast SSD) there is no problem to plot in OpenGL even 600 million rectangles and simultaneously 3-5 high RAM demand programs can be resident without the need to shutting them off to free the memory. Before I thought that the reason of crashes also could be relatively small RAM addressable limit of processor itself but no, all works OK with such high RAM demands like if only the sky is the limit

And there is no more problems to allocate any size array because there is not enough memory 😃

21 Jan 2020 1:59 #24911

is this the 'trick' to 'activate' the technique to use an SSD as quick 'RAM' John, I am not sure if this is the case. I have never had virtual memory use that I would describe as anything but 'tooo slow'. I am surprised by Dan's description, but it may be the newer type of SSD interface that is being used that provides a faster rate. Rates of 1GByte/sec are fairly fast, while a 20 second apparent stop while virtual memory is activated is not. For this reason, I don't use virtual memory but rely on 32Gbytes of DDR4 memory, probably soon 64 GB. Dan's reported large memory usage is very impressive, but would need contiguous/sequential accessing else there would be significant memory page access delays, even with DDR4. At the high transfer rates being achieved, there is not that many processor cycles available to use this data to perform calculations that can demand these memory rates.

Please login to reply.