Post
Topic
Board Mining software (miners)
Re: [MINER] Phoenix - New efficient, fast, modular miner **BFI_INT support!**
by
keybaud
on 09/06/2011, 21:13:39 UTC
PHOENIX MEMORY LEAK?

In an effort to reduce the amount of heat my PC generates, I set my copy of Windows XP to not use any Virtual Memory so it wouldn't access the hard drive as much. I have 1 GB of memory fitted to the PC and when I run 6 Phoenix clients I am using 740MB. If I leave the PC for an extended period, over 24 hours, Phoenix will start generating errors and I get an 'Out of Virtual Memory' message from Windows. I'll try and copy the error message next time, but I'd already rebooted the PC when I started to write this.

The implication here is that Phoenix has a memory leak of some kind, as there is no reason the the extra 260 MB of RAM needs to be used.

I've done some poking and the problem would appear to be how Windows XP stores the details in the command prompt window. As the miner is creating a new line every few seconds and Windows remembers everything in the command prompt window, the memory required to do this will grow until you eventually get an out of memory error when the virtual memory limit is reached. Because I'd disabled virtual memory, I was reaching the limit much earlier than usual. This will also be why the hard drive was being used far more than I expected it to, as it never went into shutdown when mining with virtual memory enabled.

I don't know if this problem occurs on other versions of Windows, as I'm only using XP.