[Source] How to find memory leaks.

Page 1 of 2 12 LastLast
Results 1 to 25 of 34
  1. #1
    Eternal Slumber Meteorite is offline
    MemberRank
    Jun 2008 Join Date
    875Posts

    config [Source] How to find memory leaks.

    Note : You will need NetBeans for this

    1). Open up NetBeans, at the top click on the tab 'Profile'
    2). Click on Attach Profiler, you should get something like this :

    3). On the left side of the GUI, click on Memory
    4). Make the settings look like this :

    5). You'll see something like this after you click on 'Profile'

    6). Oh nuu! There's no processes, don't worry, now start up your server.

    7). Awesome, I'm so l337 I got processes now.

    8). I'm going to profile Channel Server, because most memory leaks are within the Channel Server, for MapleStory at least.

    9). Check your launch_channel.bat, you'll see something like this :

    10). Refer back to NetBeans and you should see something like this :


    You do not need to worry, unless the 'Generations' go above 20 or so, then you know that there's a memory leak. To check where the memory leak is, just double click the 'Class Name' and you've found your memory leak.

    Credits:
    Rob (For showing me how to do this)
    Me
    Last edited by Piggy; 12-08-11 at 02:13 PM. Reason: Added [Source] tags


  2. #2
    Account Upgraded | Title Enabled! Colors is offline
    MemberRank
    Jan 2010 Join Date
    ParadiseLocation
    385Posts

    Re: [TuTorial] How to find memory leaks.

    Leek from CodersCorner
    http://coderscorner.net/thread-45.html
    Lol!

  3. #3
    Apprentice iSora is offline
    MemberRank
    Feb 2010 Join Date
    11Posts

    Re: [TuTorial] How to find memory leaks.

    Thanks.
    And give credit if you still didnt, whatever that means.

  4. #4
    Eternal Slumber Meteorite is offline
    MemberRank
    Jun 2008 Join Date
    875Posts

    Re: [TuTorial] How to find memory leaks.

    Quote Originally Posted by iSora View Post
    Thanks.
    And give credit if you still didnt, whatever that means.
    I wrote this tutorial and I took the screenshots. I don't need to give credits.

    Actually okay.

    Credits :
    magelight
    Some dude on Valhalla who showed me this.

    Happy?

  5. #5
    Account Upgraded | Title Enabled! xMike1x is offline
    MemberRank
    Dec 2009 Join Date
    TorontoLocation
    566Posts

    Re: [TuTorial] How to find memory leaks.

    fail o-o

  6. #6
    CodersCorner.NET iCloud is offline
    MemberRank
    Dec 2008 Join Date
    233Posts

    Re: [TuTorial] How to find memory leaks.

    Is the same person faggots.

  7. #7
    Member MapleTechno is offline
    MemberRank
    Jan 2010 Join Date
    85Posts

    Re: [TuTorial] How to find memory leaks.

    I removed memory leaks all the time, but I never knew what it does what happens?
    Posted via Mobile Device

  8. #8
    bleh.... Shawn is offline
    MemberRank
    Oct 2008 Join Date
    Mississauga, CaLocation
    5,904Posts

    Re: [TuTorial] How to find memory leaks.

    Quote Originally Posted by MapleTechno View Post
    I removed memory leaks all the time, but I never knew what it does what happens?
    Posted via Mobile Device
    How can you remove memory leaks if you don't know what they do? You can't fix something you don't know about.

  9. #9
    Account Upgraded | Title Enabled! Colors is offline
    MemberRank
    Jan 2010 Join Date
    ParadiseLocation
    385Posts

    Re: [TuTorial] How to find memory leaks.

    Quote Originally Posted by DevonsDaddy View Post
    How can you remove memory leaks if you don't know what they do? You can't fix something you don't know about.
    I disagree you can fix something even if you don't know how to, you just have to be lucky, i fix shit with ought knowing anything.
    When i didn't know anything about computers i reset my windows,replaced hard drive, and mother board with no problems what so ever.
    But i mean you just have to be lucky.

  10. #10
    Member luke4live is offline
    MemberRank
    Aug 2008 Join Date
    The NetherlandsLocation
    70Posts

    Re: [TuTorial] How to find memory leaks.

    Quote Originally Posted by magelight View Post
    I wrote this tutorial and I took the screenshots. I don't need to give credits.

    Actually okay.

    Credits :
    magelight
    Some dude on Valhalla who showed me this.

    Happy?
    ZOMG how comes this is EXACTLY the same as codersconers?
    with im so l337 i got acces now.
    Not really smart doing the same.
    We know SOMEBODY leeched it you just changed the thxbai! with pie!

  11. #11
    Infraction Banned rice is offline
    MemberRank
    Nov 2009 Join Date
    2,905Posts

    Re: [TuTorial] How to find memory leaks.

    Quote Originally Posted by luke4live View Post
    with im so l337 i got acces now.
    Elaborate please, if you would.

    Quote Originally Posted by luke4live View Post
    We know SOMEBODY leeched it you just changed the thxbai! with pie!
    Lolwut?

  12. #12
    Member MapleTechno is offline
    MemberRank
    Jan 2010 Join Date
    85Posts
    Quote Originally Posted by DevonsDaddy View Post
    How can you remove memory leaks if you don't know what they do? You can't fix something you don't know about.
    It's possible.....
    Posted via Mobile Device

  13. #13
    Banned lolxd is offline
    BannedRank
    Feb 2010 Join Date
    85Posts

    Re: [TuTorial] How to find memory leaks.

    Are you mentally retarded?

  14. #14
    bleh.... Shawn is offline
    MemberRank
    Oct 2008 Join Date
    Mississauga, CaLocation
    5,904Posts

    Re: [TuTorial] How to find memory leaks.

    Quote Originally Posted by Alcohol View Post
    I disagree you can fix something even if you don't know how to, you just have to be lucky, i fix shit with ought knowing anything.
    When i didn't know anything about computers i reset my windows,replaced hard drive, and mother board with no problems what so ever.
    But i mean you just have to be lucky.
    Quote Originally Posted by MapleTechno View Post
    It's possible.....
    Posted via Mobile Device
    No... no you can't. You still need to know what it is because you wouldn't know if you fixed it if you don't know what it is.

  15. #15
    Account Upgraded | Title Enabled! Colors is offline
    MemberRank
    Jan 2010 Join Date
    ParadiseLocation
    385Posts

    Re: [TuTorial] How to find memory leaks.

    Quote Originally Posted by DevonsDaddy View Post
    No... no you can't. You still need to know what it is because you wouldn't know if you fixed it if you don't know what it is.
    Well for memory leaks yes, i agree with you 100% but not for everything :)

  16. #16
    Account Upgraded | Title Enabled! Generic230 is offline
    MemberRank
    Jul 2009 Join Date
    506Posts

    Re: [TuTorial] How to find memory leaks.

    also, rob posted this a long ass time ago.

  17. #17
    Account Upgraded | Title Enabled! jakesdexless is offline
    MemberRank
    Nov 2008 Join Date
    278Posts

    Re: [TuTorial] How to find memory leaks.

    Quote Originally Posted by MapleTechno View Post
    It's possible.....
    Posted via Mobile Device
    Give an example then. Unclosed connections are not memory leaks btw. In short time, Java closes it by itself.

  18. #18
    Member MapleTechno is offline
    MemberRank
    Jan 2010 Join Date
    85Posts

    Re: [TuTorial] How to find memory leaks.

    Quote Originally Posted by jakesdexless View Post
    Give an example then. Unclosed connections are not memory leaks btw. In short time, Java closes it by itself.
    Okay I will give an example....if you are clueless.
    Okay, you don't need to know how to breath its just something you do. Another one, you don't have to know how to know what scripting is, if you set up a server. Now stfu

  19. #19
    bleh.... Shawn is offline
    MemberRank
    Oct 2008 Join Date
    Mississauga, CaLocation
    5,904Posts

    Re: [TuTorial] How to find memory leaks.

    Quote Originally Posted by MapleTechno View Post
    Okay I will give an example....if you are clueless.
    Okay, you don't need to know how to breath its just something you do. Another one, you don't have to know how to know what scripting is, if you set up a server. Now stfu
    Nice example... You're right though. You don't need to know how to code at all to set up a server. If you've been in the section longer than a week, you'd realize that from half the threads created. You do need to know how to code to fix something, because you can't fix something that you don't even have enough knowledge about to know what it is. That's like me saying I can build a time machine when I don't even know how to build a bike. Do you see your logic?

  20. #20
    Account Upgraded | Title Enabled! jakesdexless is offline
    MemberRank
    Nov 2008 Join Date
    278Posts

    Re: [TuTorial] How to find memory leaks.

    Quote Originally Posted by MapleTechno View Post
    Okay I will give an example....if you are clueless.
    Okay, you don't need to know how to breath its just something you do. Another one, you don't have to know how to know what scripting is, if you set up a server. Now stfu
    No, you can't fix what you don't know. How would you fix a memory leak if you don't know what you fixed? Give an example of a memory leak you fixed and tell why it's a memory leak, and why your fix works.

  21. #21
    Eternal Slumber Meteorite is offline
    MemberRank
    Jun 2008 Join Date
    875Posts

    Re: [TuTorial] How to find memory leaks.

    Quote Originally Posted by Generic230 View Post
    also, rob posted this a long ass time ago.
    Quote Originally Posted by Moogra View Post
    @Magelight
    the "someone" on valhalla was xcheater (Rob)

    @MapleTechno
    you have no idea what you're talking about
    Ty lol

  22. #22
    Alpha Member XxОsirisxX is offline
    MemberRank
    Aug 2009 Join Date
    2,727Posts

    Re: [TuTorial] How to find memory leaks.

    Quote Originally Posted by Alcohol View Post
    Well for memory leaks yes, i agree with you 100% but not for everything :)
    You have surely no idea what a memory leak is.

    I agreed that some times in programming, by trying to fix something, you may also fix another without it being your 'target'. However, to know that you fixed another thing you must know beforehand that it was broken before, else, for you it was always fixed. In this case, if you have no idea what memory leak is, how you know you even fixed it? That's like saying you won the lottery without a ticket.

  23. #23
    Dead & gone... xQuasar is offline
    MemberRank
    Aug 2008 Join Date
    519Posts

    Re: [TuTorial] How to find memory leaks.

    Quote Originally Posted by MapleTechno View Post
    Okay I will give an example....if you are clueless.
    Okay, you don't need to know how to breath its just something you do. Another one, you don't have to know how to know what scripting is, if you set up a server. Now stfu
    You're fucking retarded. GTFO

  24. #24
    Proficient Member sum1udontkno is offline
    MemberRank
    Jun 2009 Join Date
    152Posts

    Re: [TuTorial] How to find memory leaks.

    lol MapleTechno if u don't even know about something why would u go to fix it o_o; it's not possible. admit it.

  25. #25
    Eternal Slumber Meteorite is offline
    MemberRank
    Jun 2008 Join Date
    875Posts

    Re: [TuTorial] How to find memory leaks.

    Bumps?



Page 1 of 2 12 LastLast

Advertisement