SFML community forums
Help => General => Topic started by: Tigre Pablito on June 12, 2016, 10:20:13 pm
-
Hi, Ladies and Guys
Once again, my poor Sonic has detected a problem. Though I'm almost sure it is the last one. If I'm not wrong, my notebook came from factory with about 800 MB of RAM dedicated to video, then I cometed the error :P of changing the system to 64 bit and ocurred the problems as some of you perhaps remember. Then I changed to Windows 7 Ultimate 32 bit, which let my app run normally fast again ;D (in notebook Pentium Dual Core T4500 2.30 GHz 2.0 GB RAM) and now have only 64 MB of RAM dedicated to video, and though I tried to change that, I couldn't. I suspect that this is the cause why my poor Sonic runs out of memory after playing 3 or 4 levels, when loading the following.
https://www.dropbox.com/s/7nk068u65071ryt/Sonic%20The%20Hedgehog%20%26%20Knuckles%20By%20Pablito.rar?dl=0
Can someone help me to solve this?
Thank you very much
-
Can you please post the source and not the binaries? For those of us who do not have unlimited/decent internet, the download is almost 40MB.
As for the problem, I would suspect a memory leak is to blame but I (And noone else) can be sure unless you post the source.
-
If the usage increases after a few levels, then you likely leak memory somewhere.
-
Hi people
here is the project source code with the data files
https://www.dropbox.com/s/mvwego2fcyxtty5/DEVELOPING%20Sonic%20The%20Hedgehog%2032%20bit%20by%20Pablito.rar?dl=0
i made an important effort to reduce the .rar file's size; deleted some music files and changed all the .bmp to .png
on the hero select screen, you can press keys 1 to 6 to select a zone ... first set the cursor on the hero you chose
i think probably there is a leak of memory somewhere, but perhaps also the problem of the RAM dedicated to video