Memory leak in VB6 with PowerCDG Control
Moderators: admin, Piotr, adam
Memory leak in VB6 with PowerCDG Control
I have the PowerCDG Control software and seem to be encountering an error with a memory leak. When I load a new file with the loadfile() method, more memory is assigned without freeing the old memory from the previous file. So, after playing several karaoke songs I run out of memory. I have tried using the close method and the same problem still occurs.
Any suggestions?
Any suggestions?
I am sorry I did not reply sooner.
I have tested the control under Visual Basic -- there is a Visual Basic sample in Samples directory. I have loaded various files, played it was unable to get memory usage over 21 MB, which should not be a problem. Loading new file did not cause significant memory usage increase.
Can you please test this? You should be able to see the memory used by the process with Windows Task Manager.
I have tested the control under Visual Basic -- there is a Visual Basic sample in Samples directory. I have loaded various files, played it was unable to get memory usage over 21 MB, which should not be a problem. Loading new file did not cause significant memory usage increase.
Can you please test this? You should be able to see the memory used by the process with Windows Task Manager.
I tested once again with your included sample file as well. The problem occurs there too.
I have noted a slight difference if the file is allowed to end versus if it is stopped. When the file ends on its own, the codec appears to grab less memory when a new file is loaded. But, when a file is stopped before finishing and a new file is loaded, the problem occurs.
I observed the memory usage with the Task Manager to confirm this behavior. Each new file loaded captured 3-7MB of additional RAM, without releasing. This problem occurs on every system that I have the software installed (both versions 1.0.12 and 1.0.11).
I have noted a slight difference if the file is allowed to end versus if it is stopped. When the file ends on its own, the codec appears to grab less memory when a new file is loaded. But, when a file is stopped before finishing and a new file is loaded, the problem occurs.
I observed the memory usage with the Task Manager to confirm this behavior. Each new file loaded captured 3-7MB of additional RAM, without releasing. This problem occurs on every system that I have the software installed (both versions 1.0.12 and 1.0.11).
-
Guest
Who is online
Users browsing this forum: No registered users and 1 guest