Thread: Memory leaking issue

Results 1 to 10 of 10
  1. #1 Memory leaking issue 
    Super Donator

    Join Date
    May 2016
    Posts
    71
    Thanks given
    2
    Thanks received
    1
    Rep Power
    32
    Hi i just figured out my servers leaking memory I'm not to sure how to fix it and i would really like it if someone would maybe have a tutorial about it I've been trying to search around and couldn't find a resolution if anyone knows a way please let me know thanks !
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Feb 2010
    Posts
    3,253
    Thanks given
    1,145
    Thanks received
    909
    Rep Power
    2081
    Use a tool known as a profiler to identify spikes. Probably some poor object creation within a loop.
    Reply With Quote  
     

  3. #3  
    Super Donator

    Join Date
    May 2016
    Posts
    71
    Thanks given
    2
    Thanks received
    1
    Rep Power
    32
    Quote Originally Posted by Fire Cape View Post
    Use a tool known as a profiler to identify spikes. Probably some poor object creation within a loop.
    how can i use the tool?
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Feb 2010
    Posts
    3,253
    Thanks given
    1,145
    Thanks received
    909
    Rep Power
    2081
    Quote Originally Posted by newby View Post
    how can i use the tool?
    Take a look at this https://docs.oracle.com/javase/8/doc.../profiler.html

    Visualvm comes with jdk so just run visualvm in CMD should be in path
    Reply With Quote  
     

  5. #5  
    Super Donator

    Join Date
    May 2016
    Posts
    71
    Thanks given
    2
    Thanks received
    1
    Rep Power
    32
    Quote Originally Posted by Fire Cape View Post
    Take a look at this https://docs.oracle.com/javase/8/doc.../profiler.html

    Visualvm comes with jdk so just run visualvm in CMD should be in path
    im not to sure how to run the visualvm in my CMD im sorry im not to fimilar with this
    Reply With Quote  
     

  6. #6  
    Registered Member
    bracket's Avatar
    Join Date
    Aug 2009
    Posts
    5,278
    Thanks given
    1,059
    Thanks received
    1,465
    Rep Power
    5000
    Quote Originally Posted by newby View Post
    im not to sure how to run the visualvm in my CMD im sorry im not to fimilar with this
    Open VisualVM and it'll show a list of active Java applications. Simply click the application and you can check it out.
    Reply With Quote  
     

  7. #7  
    Super Donator

    Join Date
    May 2016
    Posts
    71
    Thanks given
    2
    Thanks received
    1
    Rep Power
    32
    Quote Originally Posted by bracket View Post
    Open VisualVM and it'll show a list of active Java applications. Simply click the application and you can check it out.
    Yeah I don’t know how to open that that’s what I mean and If I figure out what’s causing the memory leak how can I fix it?

    Quote Originally Posted by bracket View Post
    Open VisualVM and it'll show a list of active Java applications. Simply click the application and you can check it out.
    Yeah I don’t know how to open that that’s what I mean and If I figure out what’s causing the memory leak how can I fix it?
    Reply With Quote  
     

  8. #8  
    Registered Member
    bracket's Avatar
    Join Date
    Aug 2009
    Posts
    5,278
    Thanks given
    1,059
    Thanks received
    1,465
    Rep Power
    5000
    Quote Originally Posted by newby View Post
    Yeah I don’t know how to open that that’s what I mean and If I figure out what’s causing the memory leak how can I fix it?



    Yeah I don’t know how to open that that’s what I mean and If I figure out what’s causing the memory leak how can I fix it?
    Locate the directory where you installed JDK (e.g. Program Files) and open the bin folder. In there you should find an application called "jvisualvm".

    https://visualvm.github.io/documentation.html
    Reply With Quote  
     

  9. #9  
    Super Donator

    Join Date
    May 2016
    Posts
    71
    Thanks given
    2
    Thanks received
    1
    Rep Power
    32
    Would u be able to add me on discord by chance neeewby#8938
    I have a lot of questions sorry :/
    Reply With Quote  
     

  10. #10  
    Super Donator

    Join Date
    May 2016
    Posts
    71
    Thanks given
    2
    Thanks received
    1
    Rep Power
    32
    Quote Originally Posted by bracket View Post
    Locate the directory where you installed JDK (e.g. Program Files) and open the bin folder. In there you should find an application called "jvisualvm".

    https://visualvm.github.io/documentation.html
    i opened up the java bin folder and never found something called "jvisualvm"
    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. Buying fix for memory leak issue
    By Raw-B in forum Buying
    Replies: 3
    Last Post: 03-18-2013, 11:22 PM
  2. Memory Leak Issues.
    By CommunityX in forum Help
    Replies: 5
    Last Post: 03-24-2011, 11:55 PM
  3. JDBC memory leak?
    By Hidendra_ in forum Help
    Replies: 6
    Last Post: 07-25-2009, 10:11 PM
  4. JDBC memory leak?
    By Hidendra_ in forum RS2 Server
    Replies: 4
    Last Post: 07-23-2009, 08:04 PM
  5. crazy memory leak
    By veer in forum Images
    Replies: 2
    Last Post: 08-23-2008, 11:36 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
  •