MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #30757 All Revisions ] Back to Issue ]
Summary 0030757: Memory leaks using Open CasCade with TBB
Revision 2019-05-31 10:09 by msv
Description The customer complaint is below:
"We have found that there are memory leaks in OpenCascade.
It seems that most of the leaks are related the use of TBB (IntelĀ® Threading Building Blocks), which is an optional component.
We tried out that not using TBB solves the related memory leak problems, and the speed of execution was just slightly affected."

Configuration used: Windows 10 & VStudio 2015 & 64 bit.

The delivered sample gives the next output:

"Detected memory leaks!
Dumping objects ->
{13589} normal block at 0x000001D51BA746A0, 520 bytes long.
 Data: < p > 04 00 00 00 00 00 00 00 70 7F 89 1D D5 01 00 00
{13588} normal block at 0x000001D51BA2F910, 520 bytes long.
 Data: < > 04 00 00 00 00 00 00 00 B0 7F 89 1D D5 01 00 00
{13587} normal block at 0x000001D51BA29740, 520 bytes long.
 Data: < > 04 00 00 00 00 00 00 00 F0 7F 89 1D D5 01 00 00
{173} normal block at 0x000001D51BA19550, 16 bytes long.
 Data: < * > A8 F3 2A FC FD 7F 00 00 01 CD CD CD CD CD CD CD
Object dump complete.
The program '[21000] LeakageExample.exe' has exited with code 0 (0x0).
"
The archive LeakageExampleV4.zip(~ 90 MB) is available at \\SZY\SHARE\BIMO folder.
Revision 2019-05-30 10:46 by szy
Description The customer complaint is below:
"We have found that there are memory leaks in OpenCascade.
It seems that most of the leaks are related the use of TBB (IntelĀ® Threading Building Blocks), which is an optional component.
We tried out that not using TBB solves the related memory leak problems, and the speed of execution was just slightly affected."

Configuration used: Windows 10 & VStudio 2015 & 64 bit.

The delivered sample gives the next output:

"Detected memory leaks!
Dumping objects ->
{13589} normal block at 0x000001D51BA746A0, 520 bytes long.
 Data: < p > 04 00 00 00 00 00 00 00 70 7F 89 1D D5 01 00 00
{13588} normal block at 0x000001D51BA2F910, 520 bytes long.
 Data: < > 04 00 00 00 00 00 00 00 B0 7F 89 1D D5 01 00 00
{13587} normal block at 0x000001D51BA29740, 520 bytes long.
 Data: < > 04 00 00 00 00 00 00 00 F0 7F 89 1D D5 01 00 00
{173} normal block at 0x000001D51BA19550, 16 bytes long.
 Data: < * > A8 F3 2A FC FD 7F 00 00 01 CD CD CD CD CD CD CD
Object dump complete.
The program '[21000] LeakageExample.exe' has exited with code 0 (0x0).
"
The archive LeakageExampleV4.zip(~90 MB) is available at \\SZY\SHARE\BIMO folder.


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker