Go back to www.powerkaraoke.com: karaoke dvd burner


Power Karaoke Karaoke forum for PowerKaraoke (karaoke software to create, play, and burn CD+G and video karaoke)
Karaoke forum for PowerKaraoke (karaoke software to create, play, and burn CD+G and video karaoke)
 
 FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Memory leak in VB6 with PowerCDG Control

 
Post new topic   Reply to topic    Karaoke forum for PowerKaraoke (karaoke software to create, play, and burn CD+G and video karaoke) Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
qlawson
Member


Joined: 04 Nov 2005
Posts: 7

PostPosted: Fri Nov 04, 2005 9:53 pm    Post subject: Memory leak in VB6 with PowerCDG Control Reply with quote

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?
Back to top
View user's profile Send private message  
admin
Admin


Joined: 29 Nov 2002
Posts: 2401

PostPosted: Mon Nov 07, 2005 2:56 am    Post subject: Reply with quote

What kind of audio file are you using? (MP3, WAV, BIN)?
_________________
Piotr
info@powerkaraoke.com
PowerKaraoke
www.powerkaraoke.com
Back to top
View user's profile Send private message [ Hidden ] Visit poster's website
qlawson
Member


Joined: 04 Nov 2005
Posts: 7

PostPosted: Mon Nov 07, 2005 10:56 am    Post subject: Reply with quote

I use WMA and CDG files.
Back to top
View user's profile Send private message  
admin
Admin


Joined: 29 Nov 2002
Posts: 2401

PostPosted: Tue Nov 08, 2005 3:59 am    Post subject: Reply with quote

Is the memory leak unique for WMA files or does it happen with MP3 files as well? Please give it a try and this information would help us to find the problem.
_________________
Piotr
info@powerkaraoke.com
PowerKaraoke
www.powerkaraoke.com
Back to top
View user's profile Send private message [ Hidden ] Visit poster's website
qlawson
Member


Joined: 04 Nov 2005
Posts: 7

PostPosted: Thu Nov 10, 2005 9:25 pm    Post subject: Reply with quote

I did attempt to use an MP3 instead of a WMA and still encountered the same problem.
Back to top
View user's profile Send private message  
admin
Admin


Joined: 29 Nov 2002
Posts: 2401

PostPosted: Fri Nov 11, 2005 12:39 pm    Post subject: Reply with quote

Does it happen under Windows XP or some other OS? I will look into this early next week.
_________________
Piotr
info@powerkaraoke.com
PowerKaraoke
www.powerkaraoke.com
Back to top
View user's profile Send private message [ Hidden ] Visit poster's website
qlawson
Member


Joined: 04 Nov 2005
Posts: 7

PostPosted: Fri Nov 11, 2005 3:18 pm    Post subject: Reply with quote

Yes, this occurs in Windows XP (I have not tried Windows 2000).
Back to top
View user's profile Send private message  
qlawson
Member


Joined: 04 Nov 2005
Posts: 7

PostPosted: Thu Nov 17, 2005 3:09 pm    Post subject: Reply with quote

Any ideas so far?
Back to top
View user's profile Send private message  
admin
Admin


Joined: 29 Nov 2002
Posts: 2401

PostPosted: Thu Nov 17, 2005 4:40 pm    Post subject: Reply with quote

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.
_________________
Piotr
info@powerkaraoke.com
PowerKaraoke
www.powerkaraoke.com
Back to top
View user's profile Send private message [ Hidden ] Visit poster's website
qlawson
Member


Joined: 04 Nov 2005
Posts: 7

PostPosted: Fri Nov 18, 2005 9:06 pm    Post subject: Reply with quote

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).
Back to top
View user's profile Send private message  
qlawson
Member


Joined: 04 Nov 2005
Posts: 7

PostPosted: Fri Dec 09, 2005 10:42 am    Post subject: Reply with quote

I am still having this problem. Do you have any ideas?
Back to top
View user's profile Send private message  
Guest






PostPosted: Tue Dec 20, 2005 2:48 am    Post subject: Reply with quote

I see the same issue, play a cdg either wma or mp3, stop a track part way through and the memory used by the previous track is not frred so on loading abother track slowly but surely the less memory you have.

This has only been tested in the demo application of yours
Back to top
admin
Admin


Joined: 29 Nov 2002
Posts: 2401

PostPosted: Tue Dec 20, 2005 4:55 am    Post subject: Reply with quote

We will be revisiting the control in January -- I hope that that release will fix the problems.
_________________
Piotr
info@powerkaraoke.com
PowerKaraoke
www.powerkaraoke.com
Back to top
View user's profile Send private message [ Hidden ] Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Karaoke forum for PowerKaraoke (karaoke software to create, play, and burn CD+G and video karaoke) Forum Index -> Bugs All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
mapping software