Register for your free account! | Forgot your password?

You last visited: Today at 18:20

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



RAM Leak

Discussion on RAM Leak within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2009
Posts: 874
Received Thanks: 174
RAM Leak

So how do i fix a RAM leak?
i never heard of it till recently
idk if i have a ram leak but i wanna be prepared in case i ever have one
Arcotemple:) is offline  
Old 07/03/2009, 05:58   #2
 
elite*gold: 0
Join Date: Jun 2009
Posts: 787
Received Thanks: 314
C# won't let you have a memory `leak`
It's garbage collected, meaning anything that isn't being used (or alive) is dumped away.
Just don't allocate huge static byte[]s or load huge files into memory and you're pretty much taken care of by JIT/GC. (Or **** up hard with pointers)
_tao4229_ is offline  
Old 07/03/2009, 12:15   #3
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
#Moved
_Emme_ is offline  
Old 07/03/2009, 17:37   #4
 
elite*gold: 0
Join Date: May 2009
Posts: 98
Received Thanks: 30
Quote:
Originally Posted by Arcotemple:) View Post
So how do i fix a RAM leak?
i never heard of it till recently
idk if i have a ram leak but i wanna be prepared in case i ever have one
Some more details would help us help you.

Quote:
Originally Posted by _tao4229_ View Post
C# won't let you have a memory `leak`
It's garbage collected, meaning anything that isn't being used (or alive) is dumped away.
Just don't allocate huge static byte[]s or load huge files into memory and you're pretty much taken care of by JIT/GC. (Or **** up hard with pointers)
So much wrong with that.
high7 is offline  
Old 07/04/2009, 21:00   #5
 
elite*gold: 0
Join Date: Jun 2009
Posts: 787
Received Thanks: 314
Quote:
Originally Posted by high7 View Post
Some more details would help us help you.



So much wrong with that.
I'm talking in simplistic terms, you can't have a memory leak like you do in C++ or C, where you have memory not pointed to but still allocated, without using native functions.
_tao4229_ is offline  
Old 07/05/2009, 11:18   #6
 
leavemealone's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 2,168
Received Thanks: 8,593
Basically in C# you don't have to release anything, Thats what tao is getting accross.
leavemealone is offline  
Old 07/06/2009, 01:07   #7
 
elite*gold: 0
Join Date: May 2009
Posts: 98
Received Thanks: 30
Ya you do, if you don't release event handlers then the object will never be freed...
high7 is offline  
Reply


Similar Threads Similar Threads
is deR aNy leak for bot HUnterZ?
11/27/2009 - Ragnarok Online - 1 Replies
i play MyRo PhiL server.. Is der any sOlUtion for it?? advAnce tHNks for the answers :handsdown: :handsdown: :handsdown:
*Leak* Wayne :P
04/24/2008 - WoW Exploits, Hacks, Tools & Macros - 56 Replies
Oh well after getting flamed at, S.A.L.O.M.O.N not answering my mails i guess ill post everything here that i wanted to give him for the underground section. lets start: - Team iDemise direct folder Download. Without haveing to pay you can download this directly from the file server from them. Use quickly before they find out how to set up a folder password ^^, Index of /guides*hot* - Carbonite, full version. -EDIT IM NOT POSTING MY CHARACTER NAME AND SERVER. Im trying to find a way...



All times are GMT +1. The time now is 18:21.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.