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 


Fix for Failure loading the trainer. Reason:Out of memory

 
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: Fri Sep 11, 2020 5:44 am    Post subject: Fix for Failure loading the trainer. Reason:Out of memory Reply with quote

I’ve made a huge trainer full of scripts and when I launch it I get this error. I haven’t allocated any memory but if that’s the case, how do I do it?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Fri Sep 11, 2020 6:08 am    Post subject: Reply with quote

is the icon you gave it a proper icon?

Do you use any lua code ?

_________________
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: Fri Sep 11, 2020 9:27 am    Post subject: Reply with quote

Dark Byte wrote:
is the icon you gave it a proper icon?

Do you use any lua code ?

is the icon you gave it a proper icon?
Yes it is, I used it on my previous builds with less number of scripts and it worked fine.
Do you use any lua code ?
Yes, I have around 60 scripts and the vast majority are written in lua

It’s kinda curious that this happens since loading the script used for the trainer manually into CE has memory allocated automatically (4.6GB) and Windows Defender doesn’t seem to play any role on this.
Back to top
View user's profile Send private message
mrally2
Cheater
Reputation: 0

Joined: 01 Apr 2020
Posts: 43

PostPosted: Sun Sep 13, 2020 2:14 am    Post subject: Reply with quote

Quick update: The problem got fixed when selecting "Target process is 64 bit" when compiling the trainer but wasn't that option supposed to refer to the game is targeted at?

Also, CE allocates quite a lot of memory without enabling any script. I do use a lot of timers that are constantly running in my scripts but is that much RAM usage really necessary?
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