#1 Burning Software

It is currently Thu Dec 19, 2024 4:12 am

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Memory usage in StarBurn_CdvdBurnerGrabber_DiscAtOnceRawPW
PostPosted: Wed Apr 30, 2008 2:52 pm 
Offline

Joined: Wed Apr 30, 2008 2:11 pm
Posts: 31
Location: England
Hello there,

I am new to the StarBurn SDK and I have to say that it offers exceptional value for money :). But I have a question about burning DAO_RAW_PW discs. This seems to use a lot more memory than other modes (in particular, TAO) and this is a concern.

I am currently passing a cache size of 32MB to StarBurn_CdvdBurnerGrabber_Create. The StarBurn MSVC Audio Burner sample then uses about 70MB of RAM to burn a DAO CD, whereas it only uses about 20MB to burn a TAO CD. Why is this, and can anything be done to reduce that 70MB?

I am using StarBurn SDK 7.2.20 (free version - with intent to buy!) and I'm burning from MP3 files if that makes any difference.

Many thanks,

Regards,


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 30, 2008 3:12 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
32MB is not enough for burning (just a small remark).

DAO has to re-buffer everything as it exands cooked streams into raw streams. That's why...


Top
 Profile  
 
 Post subject: How long is a piece of string?
PostPosted: Wed Apr 30, 2008 3:55 pm 
Offline

Joined: Wed Apr 30, 2008 2:11 pm
Posts: 31
Location: England
Hi,

Thanks for getting back to me so promptly. Do you have any recommendations for the cache size that should be passed to StarBurn_CdvdBurnerGrabber_Create? With the default size of 160MB, your Audio Burner sample uses over 230 MB of RAM while burning the disc, and this is simply too high for users with low-end machines.

I have looked into this a little bit and I thought I might do some kind of calculation based on the current write speed, setting the cache size to buffer (say) 8 seconds-worth of data. I would then reduce the write speed on machines with a (relatively!) small amount of physical memory installed so that I can run with a smaller cache and keep my 8 second 'window'. Does this sound reasonable to you, and is 8 seconds enough (or too much), would you say?

Many thanks,

Regards,


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 30, 2008 5:46 pm 
Offline

Joined: Wed Apr 30, 2008 2:11 pm
Posts: 31
Location: England
Sorry! I don't blame you for not answering that. I will do what I think is best.

Regards,


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 30, 2008 11:54 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Good idea is to cut off 1/3 of the free RAM capacity. For low-performance machines 64MB for CD burning should be still OK.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 01, 2008 6:42 am 
Offline

Joined: Wed Apr 30, 2008 2:11 pm
Posts: 31
Location: England
OK, thank you.

Regards,


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 01, 2008 10:57 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
You're welcomed :)

alpinesoft wrote:
OK, thank you.

Regards,


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group