I've found that every time I set a TopoDS_Shape object to something new, the memory footprint increases. I've tried using operator delete, Nullify, and Standard::Purge, but they don't help at all. I'm using version 6.3. For example:
aShape = aReader.OneShape();
This will use 10 times as much memory as just defining aShape once.
Is there any way to prevent this leak, or are there any fixes for this issue?