Thread: javaheap

Results 1 to 8 of 8
  1. #1 javaheap 
    Banned
    Join Date
    Sep 2017
    Posts
    159
    Thanks given
    13
    Thanks received
    11
    Rep Power
    0
    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)
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Mar 2013
    Posts
    376
    Thanks given
    406
    Thanks received
    70
    Discord
    View profile
    Rep Power
    79
    im not helping guy who spam people in discord everytime for help
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Sep 2017
    Posts
    159
    Thanks given
    13
    Thanks received
    11
    Rep Power
    0
    Quote Originally Posted by deaneo8 View Post
    im not helping guy who spam people in discord everytime for help
    in witch discord are you on about cause im currently not in the rune-server discord :/
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Jul 2009
    Posts
    502
    Thanks given
    159
    Thanks received
    144
    Rep Power
    632
    [Only registered and activated users can see links. ]

    first link literally explains it all
    Reply With Quote  
     

  5. #5  
    Banned
    Join Date
    Sep 2017
    Posts
    159
    Thanks given
    13
    Thanks received
    11
    Rep Power
    0
    Quote Originally Posted by Aboo View Post
    [Only registered and activated users can see links. ]

    first link literally explains it all

    but i am not out of memory and have a bit of space..
    Reply With Quote  
     

  6. #6  
    Contributor
    Kris's Avatar
    Join Date
    Jun 2016
    Age
    23
    Posts
    3,536
    Thanks given
    703
    Thanks received
    2,322
    Discord
    View profile
    Rep Power
    5000
    Quote Originally Posted by Amenity View Post
    but i am not out of memory and have a bit of space..
    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,
    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.
    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???"
    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Oct 2012
    Posts
    4,716
    Thanks given
    1,682
    Thanks received
    1,105
    Rep Power
    0
    Kris actually helped me with this. Use jprofiler, easy setup and plenty of guides.
    Reply With Quote  
     

  8. #8  
    Banned
    Join Date
    Sep 2017
    Posts
    159
    Thanks given
    13
    Thanks received
    11
    Rep Power
    0
    Quote Originally Posted by Kris View Post
    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???"
    but how kris Just kidding thanks alot going to have a look at jprofiler now
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Javaheap
    By turked in forum Help
    Replies: 0
    Last Post: 08-30-2014, 08:45 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •