Author Topic: Logic resource length  (Read 3944 times)

0 Members and 1 Guest are viewing this topic.

Offline Andrew_Baker

Re:Logic resource length
« Reply #15 on: October 11, 2002, 07:19:32 AM »
I don't know why "tp" doesn't recover my buffer, but I've tested it empirically by checking the memory every time I tp to a new room, and the memory isn't reclaimed.  I've also had some "out of memory" errors after tp'ing, like, three times.
I hope you realize that one day I will devour the Earth.

Offline Joel

Re:Logic resource length
« Reply #16 on: October 11, 2002, 11:12:41 AM »
I was able to duplicate the problem, but not with Jen's Quest. It appears to be a problem with the updated template game. I tested it with multiple interpreter versions (the hacked 2.936 that ships with the template game, the unhacked 2.936 on agidev.com, and the 2.917 I use with Jen's Quest), and the problem occurred with every interpreter version I tried.

Jen's Quest is based off the template game that shipped with AGI Studio 1.31...whatever the problem is, it was introduced into the template game since then, because the problem doesn't exist with my game.

To get some info about the nature of the problem...I tp'ed to room 2 over and over again, and the "now" memory did increase every time. However, it did not double, which means that it's not simply a matter of the buffer not being reclaimed. As I said, I'm able to tp to my own room 2 as much as I like and the "now" memory stays constant.

I'd say this problem warrants some investigation, because you're probably not the only one it's going to hit.

Offline Eigen

Re:Logic resource length
« Reply #17 on: October 13, 2002, 09:38:46 AM »
But I only have some inputs and two views loaded and I still get the message.
Artificial Intelligence Competition

Offline Joel

Re:Logic resource length
« Reply #18 on: October 13, 2002, 12:47:49 PM »
"Need -56435 have -45348"

Are those intended to be negative signs? I'm going to operate under the assumption that they are not.

It sounds like you have lots of free memory but one of your lines of code is attempting to load a HUGE resource (of size 56435), and the load is failing.

Offline Andrew_Baker

Re:Logic resource length
« Reply #19 on: October 13, 2002, 04:22:41 PM »
How big (pixel X pixel) are the views?
I hope you realize that one day I will devour the Earth.


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.029 seconds with 16 queries.