From: Jürgen Gotschlich (juergen.gotschlich++at++dlr.de)
Date: 08/09/2001 08:05:14
High,
I have a question about memory allocation.
In my application I load over 1400 very small models ( tiles for a
terrain database ). Each tile only consists of the 4 corner-vertices.
The disk-space for every of this .pfb files is 600 bytes. Loading all of
these files with pfdLoadFile(".pfb") will result in an error after
loading 1000 files:
PF Fatal/Resource: pfMemory::new() Unable to allocate 59416
bytes from arena 0x64000000.
Try using pfSharedArenaSize() or env PFSHAREDSIZE
to increase the arena size
(currently 307200.00 KBytes) and check for adequate setrlimit()
values and available space on swap (or pfTmpDir()).
It seems to me, that each file is internally blowed up to 60k. But even
this should be no more than 80MB at all. If the shared arena holds by
default 256MB, where is the problem ?
Any ideas ?
Juergen
-- ________________________________________________________________________Jürgen Gotschlich email: juergen.gotschlich++at++dlr.de __/|_ Phone: +49(531)295-3248/2778 /_/_/_/ Fax : +49(531)295-2640 |/ DLR
Deutsches Zentrum für Luft-und Raumfahrt | German Aerospace Center Institut für Flugsystemtechnik | Inst. of Flight Research Abt. Flugsimulation | Flight Simulation Dep. Lilienthalplatz 7 | Lilienthalplatz 7 D-38108 Braunschweig | D-38108 Braunschweig, Germany ________________________________________________________________________
This archive was generated by hypermail 2b29 : Thu Aug 09 2001 - 18:34:10 PDT