mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Software (https://www.mersenneforum.org/forumdisplay.php?f=10)
-   -   Should my program use so much memory? (https://www.mersenneforum.org/showthread.php?t=10023)

ShiningArcanine 2008-02-29 16:14

I have recently gotten my program's single threaded version to compile on my university's computers, which have Visual Studio 2005 Professional edition. I am using one now and I am running a test on M32582657 with a build of the single threaded version of my program. Windows Task Manager indicates that it uses between 32,928KB and 36,028KB of memory (since I started typing this, these figures have declined to 26,956KB and 30,056KB), in a regular pattern reminds me of square waves. This is a huge improvement over what I saw in the previous version. It is also much closer to my program's now theoretical memory requirements (computed by calculating the memory I am allocating in my code) of 16.5MB ((32582657 / 2 + (32582657 * 2 + 1) / 64) bytes ~ 16.5MB, where 1MB = 2^20 bytes). I owe it all to you guys. Thanks a bunch.


All times are UTC. The time now is 23:01.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.