Page 1 of 1

Exporting a 16384x16384 heightfield

PostPosted: Thu Jun 01, 2006 3:30 pm
by wraith
I tried to export a heightfield 16384x16384 but there is an error message that states that a gigabyte a memory cannot be allocated.

I am exporting in short-based RAW format so actually a 512mb need to be allocated, suppose the whole field is to go in the memory... anyway, even a gigabyte must not be a problem!

I suppose this qualifies as a bug...
:roll:

PostPosted: Mon Jun 05, 2006 1:02 am
by Aaron
Hi Wraith,

Thanks for the bug-report. For some reason I have yet to discover, the C calloc() function is failing for gigabyte blocks of memory. If it's as simple as an incorrect compiler flag, an obsolete library, or a too-low virtual memory setting, I should be able to sort this out soon. Otherwise the fix will have to wait for a month or two until I can re-write the map class to use always-on memory-paging.

Cheers,
Aaron.