Flash Memory leak

Hi,

Was using the standalone debug player in flash ( I need to use it cause this is the only one that lets me make a text log which is quite essential for the application am developing), and it encounters memory leak like crazy, can anyone tell me how to fix this? or is there any other way to make a text log without using the debug player???

Thanks
Aj