im not helping guy who spam people in discord everytime for help
|
|
so i log into my servver just walking around then i get a error something to do out of memory but im not way near out of memory
also could this cause lag?
Exception in thread "pool-4-thread-2" java.lang.OutOfMemoryError: GC overhead limit exceeded
at org.rs2server.cache.Folder.<init>(Folder.java:125)
at org.rs2server.cache.FileSystem.load(FileSystem.jav a:128)
at org.rs2server.cache.Cache.generateInformationStore Descriptor(Cache.java:246)
at org.rs2server.cache.util.CacheUtil.generate(CacheU til.java:41)
at org.rs2server.rs2.net.RS2LoginDecoder.doDecode(RS2 LoginDecoder.java:82)
at org.apache.mina.filter.codec.CumulativeProtocolDec oder.decode(CumulativeProtocolDecoder.java:176)
at org.apache.mina.filter.codec.ProtocolCodecFilter.m essageReceived(ProtocolCodecFilter.java:233)
at org.apache.mina.core.filterchain.DefaultIoFilterCh ain.callNextMessageReceived(DefaultIoFilterChain.j ava:542)
at org.apache.mina.core.filterchain.DefaultIoFilterCh ain.access$1300(DefaultIoFilterChain.java:48)
at org.apache.mina.core.filterchain.DefaultIoFilterCh ain$EntryImpl$1.messageReceived(DefaultIoFilterCha in.java:943)
at org.apache.mina.core.filterchain.IoFilterAdapter.m essageReceived(IoFilterAdapter.java:109)
at org.apache.mina.core.filterchain.DefaultIoFilterCh ain.callNextMessageReceived(DefaultIoFilterChain.j ava:542)
at org.apache.mina.core.filterchain.DefaultIoFilterCh ain.fireMessageReceived(DefaultIoFilterChain.java: 535)

im not helping guy who spam people in discord everytime for help




Are you trying to convince us or your JVM?
Aboo's post contains informative threads about this issue with in-depth explanations of why it's happening. I never knew such thing even existed in the first place, nor heard of anyone having it.
However, tl;dr - reason is shit code. As the top post on stackoverflow said,
Use a memory profiling tool to locate these weak spots and patch them. If you don't know how to, read the fuck up. I'll lose my shit if your next question is something in the lines of "but how???"The rare cases where I've seen this happen is where some code was creating tons of temporary objects and tons of weakly-referenced objects in an already very memory-constrained environment.

Kris actually helped me with this. Use jprofiler, easy setup and plenty of guides.
| « Gradle | Vencillio Help » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |