Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Trainer takes up too much RAM when loading and running

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
mrally2
Cheater
Reputation: 0

Joined: 01 Apr 2020
Posts: 43

PostPosted: Mon Sep 14, 2020 10:58 am    Post subject: Trainer takes up too much RAM when loading and running Reply with quote

I have a trainer with a lot of lua scripts and when I execute it, it takes up to ~5.5GB of memory to fully load everything but after that (with non of the scripts enabled) the RAM usage drops down to ~4.5GB. Enabling scripts doesn’t seem to increase it noticeably. Am I missing something? And, why is CE allocating so much memory if non of the scripts are enabled?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 153

Joined: 06 Jul 2014
Posts: 4749

PostPosted: Mon Sep 14, 2020 1:19 pm    Post subject: Reply with quote

You probably did something bad. I'd need to see the table to tell you what that is.
_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
mrally2
Cheater
Reputation: 0

Joined: 01 Apr 2020
Posts: 43

PostPosted: Tue Sep 15, 2020 12:32 am    Post subject: Reply with quote

ParkourPenguin wrote:
You probably did something bad. I'd need to see the table to tell you what that is.
When building the trainer I use a "master" cheat table where all scripts are stored and I can’t figure out why it weighs 270mb either. Recently I recompiled my trainer after deleting one of the scripts in that CT and making it back by copy pasting the code into a blank script. When I opened it with the game running and non of the options enabled yet, the memory usage got dropped down to almost 4gb instead of 5+gb. It seems to me like a bug more than anything. I’ll dm you the CT to see what’s going on.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 472

Joined: 09 May 2003
Posts: 25894
Location: The netherlands

PostPosted: Tue Sep 15, 2020 2:41 am    Post subject: Reply with quote

does the game have a .PDB or other debug symbols, because then it's normal that CE will eat up a lot of memory. Just disregard it in any case as it's swapfile backed memory as it's not used until it has to be for the symbol lookup
_________________
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
View user's profile Send private message MSN Messenger
mrally2
Cheater
Reputation: 0

Joined: 01 Apr 2020
Posts: 43

PostPosted: Tue Sep 15, 2020 7:06 am    Post subject: Reply with quote

Dark Byte wrote:
does the game have a .PDB or other debug symbols, because then it's normal that CE will eat up a lot of memory. Just disregard it in any case as it's swapfile backed memory as it's not used until it has to be for the symbol lookup

I am not 100% certain if it has but the game does actually have a hidden debug menu found very recently by me. In any case, is there an option to make CE stop looking for these symbols?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites