![]() ![]() ![]() I thought breaking this into smaller chunks and incrementally adding to my memory requirements would help if the issue is due to memory fragmentation, but it doesn't I can't get past a total ArrayList size of 256mb regardless of what I do tweaking blockSize. When I go to production there will be 12GB on the box and I want to make use of it.ĭoes the CLR constrain me to a default max memory to start with? and how do I request more? I need to store as many random numbers as possible given available memory. I have 4GB memory on this machine 2.5GB is free when I start this running, there is clearly enough space on the PC to handle the 762mb of 100000000 random numbers. Fixes an issue in which you receive a System. ![]() Double sizeInMegabytes = (size * 8.0) / 1024.0 / 1024.0 //762 mbĭouble randomNumbers = new double Įxception of type 'System.OutOfMemoryException' was thrown. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |