Herb Gathering / Memory

If you found a bug in Illarion or need help ask here. / Wenn Du einen Fehler in Illarion gefunden hast oder Hilfe benötigst, frage hier.

Moderator: Developers

Post Reply
Drugar Stonesmasher
Posts: 222
Joined: Wed Feb 28, 2001 8:55 am

Herb Gathering / Memory

Post by Drugar Stonesmasher »

Hallo, i suppose this is the known memory leak, but maybe this helps to track it.

i am experiencing strong memory consumption during Herb Gathering (and other gatherings most likly as well).
On Windows 7 it goes up to 2,5 GB when the client starts to behave jumpy.
On Windows 10 the client starts to be non responsive at 1,8 GB, but the W10 version does seem to use up less memory from the beginning (500 MB vs 1GB with W7).

Also the processor load is very high, when he is at the memory limit.
i behaves like if he is heavily looping through long in memory record sets, that get bigger and bigger while doing gathering.
User avatar
CJK
Developer
Posts: 970
Joined: Sat Feb 16, 2008 4:58 pm
Location: cjk@illarion.org

Re: Herb Gathering / Memory

Post by CJK »

This is useful information, thank you! It is known we have at least one large memory leak, but these things are very difficult to track down. These kinds of details give an indication of places to look.
Ragorn
Posts: 154
Joined: Thu Dec 28, 2006 10:33 pm

Re: Herb Gathering / Memory

Post by Ragorn »

Maybe you want to check out following tools:
- jconsole (free, part of the jdk)
- yourkit (www.yourkit.com, commercial, open source project license)
- jprofiler (www.ej-technologies.com, commercial, open source project license)
I use yourkit in my current Java EE project and used jprofiler in former projects.
Both are excellent tools for java profiling and memory analysis.
Post Reply