I have a number of example STEP models I'm testing with OCC 6.3 on Windows (Vista64).
First I Open them using DRAWEXE (MDTV-XCAF) and SaveAs them (as *.dxc files). Later, I can Open all the dxc files using DRAWEXE. XShow works perfectly.
Next I developed some Java code (based on the java/samples code) to emulate what DRAWEXE does, for Open and XShow. The smaller models work perfectly.
However, the larger models (7MB dxc file) do not.
Increasing JVM memory does not solve the problem.
I used this to determine the crash location:
BRepMesh_FastDiscret::Add(const TopoDS_Face& theface)
just below the "//clear the structure of links" at the line:
I also tried opening these files directly using the samples/java program "Import/Export STEP". It also crashes in the same place.
64bit Java using 64bit libraries fails there too.
Spent a couple of weeks getting this far.
Can anyone give me advice on how to fix this?
Are am I screwed...