BitShares Forum

Main => General Discussion => Topic started by: bitcoinerS on November 12, 2014, 01:50:27 am

Title: memory use went up after upgrade to 0.4.24
Post by: bitcoinerS on November 12, 2014, 01:50:27 am
Upgraded delegate node and memory use went up.

(https://db.tt/6UpceVnd)
Title: Re: memory use went up after upgrade to 0.4.24
Post by: puppies on November 12, 2014, 02:28:11 am
Code: [Select]
@delegate0:~$ free
             total       used       free     shared    buffers     cached
Mem:       4048356    3849088     199268        340     140464    2246704
-/+ buffers/cache:    1461920    2586436

Memory use does seem to be up.  Can someone more knowledgeable than me let me know if this is a concern?
Title: Re: memory use went up after upgrade to 0.4.24
Post by: zerosum on November 12, 2014, 03:02:16 am
It stayed about the same in my 32 bit win system -  ~about 500MB. [429MB as we speak]
Title: Re: memory use went up after upgrade to 0.4.24
Post by: joele on November 12, 2014, 03:18:18 am
Much better memory alloc compare to previous version and it synced with no hassle.
Title: Re: memory use went up after upgrade to 0.4.24
Post by: ripplexiaoshan on November 12, 2014, 03:30:28 am
I noticed the same issue. However, it was mentioned in the change log that "Lowered memory requirements by fixing a memory leak" :o
Title: Re: memory use went up after upgrade to 0.4.24
Post by: wackou on November 12, 2014, 09:24:13 am
If you did just restart the client, then it reindexed the entire blockchain, and you haven't restarted since, then that might be the issue, as reindexing seems to use a lot of memory that might not be released afterwards (or there's not enough memory pressure on your system to reclaim it).

Just make sure you restart at least once after having reindexed and you should see normal memory usage.
Title: Re: memory use went up after upgrade to 0.4.24
Post by: bitcoinerS on November 12, 2014, 11:27:11 am
If you did just restart the client, then it reindexed the entire blockchain, and you haven't restarted since, then that might be the issue, as reindexing seems to use a lot of memory that might not be released afterwards (or there's not enough memory pressure on your system to reclaim it).

Just make sure you restart at least once after having reindexed and you should see normal memory usage.

Yes, rebooted and memory use went down to 1.7 GB.
Title: Re: memory use went up after upgrade to 0.4.24
Post by: abit on November 12, 2014, 08:02:31 pm
Much better memory alloc compare to previous version and it synced with no hassle.
Agree.
v0.4.22 uses more than 3GBit while re-indexing, v0.4.24 uses about 2.6GB.
Will try win client after completed downloading.. hard to download from amazon. sigh.