Strange error

New Message Reply Date view Thread view Subject view Author view

Stephen Maher (maher++at++emsh.gsfc.nasa.gov)
Tue, 19 Oct 1999 12:22:46 -0400


Hi,

I'm getting a strange (to me :) X error while using a mutation of
pfConv and can't figure it out.

The error is always a BadAlloc for X_CreateColormap. E.g.,

 X Error of failed request: BadAlloc (insufficient resources for
         operation)
 Major opcode of failed request: 78 (X_CreateColormap)
 Serial number of failed request: 125121
 Current serial number in output stream: 125125

I'm taking an octree data structure of ~50 million points and creating
LODs for each octant. I use pfdBldr* to create the geometry for LOD
children. I'm also allocating pfGroup nodes for parents.

I get the error after processing around 8-10 million points.
Application is 64 bit, machine has 16GB, and pre-process RAM is huge.

I don't use a visible window. Very bare bones pfApp:

    pfInit();
    pfInitArenas();
    pfdInitConverter(.pfb);
    pfMultiprocess(0);
    pfConfig();

    ... load binary file
    ... build octree
    ... loop on building pfGroups and pfLODs using pfdBuild* routines
    ... attach to pfScene

    pfdStoreFile

Any clues?

Thanks,
Steve

--
stephen.maher++at++gsfc.nasa.gov (301) 286-3368  fax:(301) 286-1776
http://holodeck.gsfc.nasa.gov/vr/vr.html
http://svs.gsfc.nasa.gov   http://www.digitalearth.gov
NASA Goddard Space Flight Center

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Oct 19 1999 - 09:22:56 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.