L3DT users' community
Large 3D terrain generator

Exporting a 16384x16384 heightfield

Please report software faults here.

Exporting a 16384x16384 heightfield

Postby wraith » Thu Jun 01, 2006 3:30 pm

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:
wraith
New member
 
Posts: 2
Joined: Thu Jun 01, 2006 3:26 pm

Postby Aaron » Mon Jun 05, 2006 1:02 am

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.
User avatar
Aaron
Site Admin
 
Posts: 3696
Joined: Sun Nov 20, 2005 2:41 pm
Location: Melbourne, Australia


Return to Bug reports

Who is online

Users browsing this forum: No registered users and 5 guests

cron