"Out of memory" issue

For questions about using Classic.

Post » Thu Jun 05, 2014 1:01 pm

Hi All,
I am a new to Construct Classic and facing some strange issue:
When I try to preview my Layout I receive "Out of memory" error.
My project yet not so big (2 levels + menu, 85MB on disk), but when I open it in construct it takes about 800 MB of RAM.
I use only small sprites (256x256), but still it doen't solve the problem.
I'm planning to create a game with 30-40 errors, but now I just doesn't understand if Construct can handle this kind of projects.

Any suggestions?

Thanks in advance,
Posts: 1
Reputation: 152

Post » Thu Jun 05, 2014 8:32 pm

Projects on disk are compressed. When images are loaded into memory, they are uncompressed and therefore take up more memory. It doesn't matter if your images are 256x256, if you have enough of them they'll still take up a lot of ram.

Also, don't use construct classic for medium to large projects. It has problems with them. Use C2 instead.
Posts: 3,007
Reputation: 27,921

Post » Thu Jun 05, 2014 11:44 pm

Another question is, are you using duplicate/clones (same looking sprite with different name) or just a lot of 256x256 graphics that are unique? If they are clones, then it loads the image into VRAM for every sprite, even if they are the the same image.

C2 is better for large projects, but odds are this issue is a VRAM usage issue if it's only two levels and a menu (are they big levels?)
Construct Classic - Examples Kit Dropbox is a pile of trash and if you need my old files PM me! :)
Posts: 2,274
Reputation: 23,027

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests