Why is in this loop memory leak? - Printable Version +- QB64 Phoenix Edition (https://staging.qb64phoenix.com) +-- Forum: Official Links (https://staging.qb64phoenix.com/forumdisplay.php?fid=16) +--- Forum: Announcements (https://staging.qb64phoenix.com/forumdisplay.php?fid=18) +--- Thread: Why is in this loop memory leak? (/showthread.php?tid=1513) Pages:
1
2
|
RE: Why is in this loop memory leak? - SMcNeill - 02-27-2023 (02-27-2023, 05:14 PM)Petr Wrote: No, my computer is weak. All I get is the program crashes into a gray window with a spinning blue circle icon followed after a while by a system error message. After all, my operating memory is probably not enough for so many hardware images, that could explain everything. The desktop computer does not work, its processor has gone to silicon paradise and the laptop has not enought power. That's probably what you're seeing. You're using memory faster than you're freeing it, until it runs out and then crashes. Slow things down in there somewhere and see if the problem doesn't clear up for you. RE: Why is in this loop memory leak? - Petr - 02-27-2023 Steve, I'm going to try it on better computer, mine stays in a gray screen with a blue circle icon and that's it. But it is true that the size of the used memory is stable around 2.2 GB RE: Why is in this loop memory leak? - Petr - 02-27-2023 Result on the "better" laptop is message "list_add: failed to allocate new buffer, structure size: 116" RE: Why is in this loop memory leak? - Petr - 02-27-2023 Thank you for the explanation. My intended way of using hardware images is so hardware intensive that I have to reconsider and implement my idea differently. Thank you for your patience. |