Thread: Explain Memory Leaks

Results 1 to 8 of 8
  1. #1 Explain Memory Leaks 
    Witness


    Join Date
    Nov 2011
    Posts
    378
    Thanks given
    154
    Thanks received
    63
    Rep Power
    76
    Can someone explain what a memory leak is, and if you encounter one, How do you lower the memory it uses? Tell me what char[], byte[], and int[] means!



    Reply With Quote  
     

  2. #2  
    Ich bin ein Sicherheitsexperte
    K2's Avatar
    Join Date
    Oct 2010
    Posts
    802
    Thanks given
    801
    Thanks received
    193
    Rep Power
    403
    Memory leak is what it says, it leaks useless memory that cannot be regained unless fixed

    int[], byte[], char[]...

    int[], integer array
    byte[], byte array
    char[], character array

    ?
    Respectfully,

    Steve Kreitzer
    Engineer, Blackspoke
    [email protected]
    "Those who care will always make a way."
    Reply With Quote  
     

  3. Thankful users:


  4. #3  
    Witness


    Join Date
    Nov 2011
    Posts
    378
    Thanks given
    154
    Thanks received
    63
    Rep Power
    76
    Quote Originally Posted by Buroa View Post
    Memory leak is what it says, it leaks useless memory that cannot be regained unless fixed

    int[], byte[], char[]...

    int[], integer array
    byte[], byte array
    char[], character array

    ?
    So I need to make a certain loop in order to reuse the array?
    Last edited by blessthefall; 06-02-2012 at 04:48 PM. Reason: Fixed
    Reply With Quote  
     

  5. #4  
    Ich bin ein Sicherheitsexperte
    K2's Avatar
    Join Date
    Oct 2010
    Posts
    802
    Thanks given
    801
    Thanks received
    193
    Rep Power
    403
    Quote Originally Posted by Compulsion View Post
    So I need to make a certain loop in order to reuse the memory?
    Stop putting useless info into the array's. Only make it store what you need.
    I'm guessing all of these are for clipping objects.
    Respectfully,

    Steve Kreitzer
    Engineer, Blackspoke
    [email protected]
    "Those who care will always make a way."
    Reply With Quote  
     

  6. #5  
    Registered Member
    iHybrid's Avatar
    Join Date
    Sep 2010
    Posts
    2,095
    Thanks given
    636
    Thanks received
    352
    Rep Power
    81
    Where can we find these arrays?
    Reply With Quote  
     

  7. #6  
    Witness


    Join Date
    Nov 2011
    Posts
    378
    Thanks given
    154
    Thanks received
    63
    Rep Power
    76
    Quote Originally Posted by Buroa View Post
    Stop putting useless info into the array's. Only make it store what you need.
    I'm guessing all of these are for clipping objects.
    This is where I get stuck. I have no idea because this isn't my source. I'll be sure to stick to a clean source and ask more questions later. Thanks for the help Buroa
    Reply With Quote  
     

  8. #7  
    q.q


    Join Date
    Dec 2010
    Posts
    6,519
    Thanks given
    1,072
    Thanks received
    3,535
    Rep Power
    4752
    http://www.rune-server.org/runescape...ory-leaks.html

    more ot; probs using some shitty clipping / string decipher
    Reply With Quote  
     

  9. Thankful user:


  10. #8  
    Registered Member
    Whired's Avatar
    Join Date
    Aug 2007
    Posts
    2,126
    Thanks given
    238
    Thanks received
    500
    Rep Power
    822
    Quote Originally Posted by Compulsion View Post
    I have no idea because this isn't my source. I'll be sure to stick to a clean source

    Good onya lad
    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. PI memory leaks PI
    By owner carson in forum Help
    Replies: 13
    Last Post: 12-07-2011, 07:12 AM
  2. Help with memory leaks please
    By Document in forum Help
    Replies: 3
    Last Post: 09-27-2011, 03:52 PM
  3. Memory Leaks [PI]
    By Ophion in forum Help
    Replies: 13
    Last Post: 04-26-2011, 04:14 AM
  4. Memory leaks
    By kopjekoffiee in forum Help
    Replies: 0
    Last Post: 03-14-2011, 04:01 PM
  5. Memory leaks
    By kopjekoffiee in forum Help
    Replies: 1
    Last Post: 03-14-2011, 03:58 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
  •