View previous topic :: View next topic |
Author |
Message |
catfood Cheater Reputation: 0
Joined: 22 Jun 2015 Posts: 34
|
Posted: Mon Jul 10, 2017 8:10 pm Post subject: Using Cheat Engine to find memory leak? |
|
|
Hello, I want to try to use Cheat Engine to locate a memory leak. I know the leak is graphics related, as when i do certain things in my game that use many 2D images on screen, it often leads to a crash.
Are there any tools in CE that i can use to help me find where the memory leak is coming from? another CE-er was able to patch it themself but they arent so kind as to share their method for finding it nor the address the leak is located, so i know its possible, just not sure how to approach this.
Thanks very much for any help!
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Tue Jul 11, 2017 1:28 am Post subject: |
|
|
something like valgrind might be easiet but oerhapsvthe 'watch memory allocations" function can be of some use
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
atom0s Moderator Reputation: 199
Joined: 25 Jan 2006 Posts: 8518 Location: 127.0.0.1
|
Posted: Tue Jul 11, 2017 1:51 am Post subject: |
|
|
Judging by how you explained this, it sounds possibly like a release call not happening or similar causing the objects reference count to never hit 0 and be released properly. (Just a guess based on how you described the problem.)
_________________
- Retired. |
|
Back to top |
|
|
STN I post too much Reputation: 42
Joined: 09 Nov 2005 Posts: 2672
|
Posted: Tue Jul 11, 2017 4:30 am Post subject: |
|
|
I don't think it would be simple depending on the game's size and debug information available to you.
_________________
|
|
Back to top |
|
|
catfood Cheater Reputation: 0
Joined: 22 Jun 2015 Posts: 34
|
Posted: Wed Jul 12, 2017 5:23 pm Post subject: |
|
|
thanks for the replies, valgrind is Linux exclusive right? is there a good windows alternative or a way to use valgrind on windows?
|
|
Back to top |
|
|
|