Author Topic: memory problem  (Read 1032 times)

`teh1

  • OOK Dev
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 531
  • Behold(Eventually): OOK
    • AOL Instant Messenger - flagoworld
    • View Profile
    • Spiral Nebula Development
    • Email
Re: memory problem
« Reply #30 on: February 06, 2010, 04:57:32 PM »
Press shift-command-3 and it will take a screenshot and put it on your desktop as Picture 1.png. Upload the screenshot to http://imageshack.us/ and paste the link here. Make sure that the screenshot has the error message in it. In other words, take the screenshot while the error message is popped up.
~Ryan

http://wa.site40.net/ || Visit the apparel site!
http://www.facebook.com/group.php?gid=103158368628 || Join the group!
http://spiralnebuladev.com/ || Visit Spiral Nebula Development!
http://teh1ghool.blogspot.com/ || See my blog!

  • Eye am the strongest!
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 571
    • View Profile
Re: memory problem
« Reply #31 on: February 06, 2010, 05:02:30 PM »
There actually IS an "Out of memory" message, as far as I know and that is the exact message.
It usually appears when a malloc() returns NULL, which happens when no memory can be allocated because it's either full or something else is preventing it.
That means that you don't have enough RAM, or that there is too much going on in your game.
A large map with a lot of polygons or groups could cause this, for example.

Bored much?

gamecat

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: memory problem
« Reply #32 on: February 06, 2010, 08:54:19 PM »
Here is the screen . When after telling the editor to run dim3 try to open but dose not instead the screen shot shows up.

`teh1

  • OOK Dev
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 531
  • Behold(Eventually): OOK
    • AOL Instant Messenger - flagoworld
    • View Profile
    • Spiral Nebula Development
    • Email
Re: memory problem
« Reply #33 on: February 06, 2010, 10:25:00 PM »
Looks as though the Engine is already open in the background. Try quitting it first.
~Ryan

http://wa.site40.net/ || Visit the apparel site!
http://www.facebook.com/group.php?gid=103158368628 || Join the group!
http://spiralnebuladev.com/ || Visit Spiral Nebula Development!
http://teh1ghool.blogspot.com/ || See my blog!

gamecat

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: memory problem
« Reply #34 on: February 06, 2010, 10:38:23 PM »
I saw in the screenshot the Engine was open. The Engine I didn't know had to force quit. But click on OK  on the error message it quits the Engine so you don't need to force quit.

Gungnir

  • Full Member
  • ***
  • Posts: 108
  • Gungnir Industries
    • View Profile
    • Gungnir Industries
Re: memory problem
« Reply #35 on: February 06, 2010, 11:15:34 PM »
The Engine I didn't know had to force quit.



Huh?  Do you mean that you had to force quit it after you took the screenshot?
~Gungnir

`teh1

  • OOK Dev
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 531
  • Behold(Eventually): OOK
    • AOL Instant Messenger - flagoworld
    • View Profile
    • Spiral Nebula Development
    • Email
Re: memory problem
« Reply #36 on: February 06, 2010, 11:43:12 PM »
That could have been the problem. Did you still get the error after force quitting the engine? If not then this is a bug – As Oddity mentioned, it works fine on his system which is far inferior to yours.
~Ryan

http://wa.site40.net/ || Visit the apparel site!
http://www.facebook.com/group.php?gid=103158368628 || Join the group!
http://spiralnebuladev.com/ || Visit Spiral Nebula Development!
http://teh1ghool.blogspot.com/ || See my blog!

gamecat

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: memory problem
« Reply #37 on: February 07, 2010, 01:14:22 PM »
No I didn't

`teh1

  • OOK Dev
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 531
  • Behold(Eventually): OOK
    • AOL Instant Messenger - flagoworld
    • View Profile
    • Spiral Nebula Development
    • Email
Re: memory problem
« Reply #38 on: February 07, 2010, 01:18:00 PM »
Well then, since you didn't get the error after quitting the engine the problem is solved! Have to make sure the engine isn't running in the background next time. :)
~Ryan

http://wa.site40.net/ || Visit the apparel site!
http://www.facebook.com/group.php?gid=103158368628 || Join the group!
http://spiralnebuladev.com/ || Visit Spiral Nebula Development!
http://teh1ghool.blogspot.com/ || See my blog!

Nightblaze

  • Sr. Member
  • ****
  • Posts: 309
  • ( ")✂ (^")
    • View Profile
Re: memory problem
« Reply #39 on: February 07, 2010, 03:38:52 PM »
Quitting the engine wouldn't solve the problem if he was testing in the engine...

So basically the only thing you can do is save what you do in the editor, quit the editor, and run the engine and test your game.

  • Eye am the strongest!
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 571
    • View Profile
Re: memory problem
« Reply #40 on: February 07, 2010, 03:53:06 PM »
Actually I really doubt that this has anything to do with it.
Starting the engine from the editor when it's already running in the background does nothing but bringing it to the front.
I don't see how this would display the "Out of memory" error.
You can't even tell if the engine was running before, just by looking at the screenshot.
This is something completely different and I just figured out what it was.

If you create an entirely empty map and the engine tries to load it, it will throw that error.
That's what it is, nothing else.
Probably because of some weird malloc(-1) or something like that. I'm not actually sure. Maybe it's something different that Brian is not handling correctly.

Bored much?

`teh1

  • OOK Dev
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 531
  • Behold(Eventually): OOK
    • AOL Instant Messenger - flagoworld
    • View Profile
    • Spiral Nebula Development
    • Email
Re: memory problem
« Reply #41 on: February 07, 2010, 05:06:27 PM »
Fair enough. Put some good stuff in your map, gamecat. And bink, remember that it wasn't responding. He had to force quit it. Theoretically, yes it should simply bring it to front, but perhaps it started to hog a lot of RAM.
~Ryan

http://wa.site40.net/ || Visit the apparel site!
http://www.facebook.com/group.php?gid=103158368628 || Join the group!
http://spiralnebuladev.com/ || Visit Spiral Nebula Development!
http://teh1ghool.blogspot.com/ || See my blog!

gamecat

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: memory problem
« Reply #42 on: February 07, 2010, 05:09:14 PM »
You are right about it being empty.