SnakeGrid Transformer Change 0037
Memory Issues
Running certain tests on certain versions of the SnakeGrid Transformer resulted in 'unfree'ed' memory.
The issue occurs when running the SnakeGrid Transformer module SGRD (022) which is installed from
SnakeGrid Transformer Installation Version 08.00.014?). The versions affected include:
- MicroStation V8 [http://www.dhp11.com/site04/product/snakegrid_transformer/snakegrid_transformer_v8_08_00_014.exe]
- MicroStation XM [http://www.dhp11.com/site04/product/snakegrid_transformer/snakegrid_transformer_xm_08_00_014.exe]
The issues can be replicated by running the following tests from test script
SnakeGrid Transformer Test Script Version 01.006? on the affected versions:
- 24.1 * MicroStation V8 - 3 blocks of memory used * MicroStation XM - 2 blocks of memory used
- 24.2 * MicroStation V8 - 3 blocks of memory used * MicroStation XM - 2 blocks of memory used
- 24.3 * MicroStation V8 - 3 blocks of memory used * MicroStation XM - 2 blocks of memory used
- 24.4 * MicroStation V8 - 3 blocks of memory used * MicroStation XM - 2 blocks of memory used
NOTE: The SnakeGrid Transformer running under MicroStation V8i works OK - all blocks of memory are correctly free'ed on this version.
Summary
Need to investigate why blocks of memory are being left 'unfree'ed' when specific tests are run on using MicroStation V8 and MicroStation XM versions of the SnakeGrid Transformer.
This is due to the mdlWorkDgn_open() function when used to open a DXF or DWG file. The mdlWorkDgn_close() doesnt seem to free all the memory it uses.
See Also