- Joined
- Aug 2, 2010
- Messages
- 190
- Reaction score
- 90
This is another fail attempt to revive a dead community. Anyways, the whole purpose of this fix is to save a hell lot of memory. Just do what I tell you to do.
Navigate to MapleItemInformationProvider (net.sf.odinms.server)
In MapleItemInformationProvider.java:
Change all:
To:
WeakHashMap allows it so that certain entries that no longer have references will be garbage collected which will save you as much memory as possible.
Java API for WeakHashMap:
WeakHashMap (Java Platform SE 6)
Please read the API before implementing this fix.
Navigate to MapleItemInformationProvider (net.sf.odinms.server)
In MapleItemInformationProvider.java:
Change all:
Code:
new HashMap<>();
Code:
new WeakHashMap<>();
WeakHashMap allows it so that certain entries that no longer have references will be garbage collected which will save you as much memory as possible.
Java API for WeakHashMap:
WeakHashMap (Java Platform SE 6)
Please read the API before implementing this fix.
Last edited: