Memory Leak?

vbimport

#1

Dear readers,

I’ve embedded the Nero SDK V 1.03 into our app. The Nero software is V. 5.5.9.13.

I’ve tried a couple of different methods for opening and closing the SDK. The current method is partly the following:
NeroAPIGlueConnect()
NeroInit()

NeroOpenDevice()
NeroCreateIsoTrack()
NeroBurn()
NeroFreeIsoTrack()
NeroFreeMem() …various
NeroCloseDevice

NeroDone()
NeroAPIGlueDone()

The system works great. We simply are writing data files to a CD.

I’ve noticed, using perfmon, that the memory consumption continues to increase with every request to write a CD. My box has 256mb RAM, and with everything loaded and starting from freshly running our app, perfmon reports the following:

app start: 64mb
write CD: 42mb
write CD: 32mb
write CD: 31mb
write CD: 30mb hovers around 30mb after n-iterations

Are we missing a step? Hopefully someone will recognize something I’m doing wrong, or I need a newer version of the SDK or Nero.

Thank-you for taking a look.

Steve Wagner