out of memory

Archives Forums/Linux Discussion/out of memory

jkrankie(Posted 2007) [#1]
I'm having trouble getting my game to compile in Ubuntu 7.04, i get this error message.

Building BulletCandyV2
Compiling:BulletCandyV2Setup.bmx
flat assembler version 1.64
error: out of memory.
Build Error: Failed to assemble /home/c-knight/Desktop/BC update 6/.bmx/BulletCandyV2Setup.bmx.debug.linux.x86.s
Process complete

I've tried looking at other threads for a solution, indeed i even found one that links to a way to give fasm more memory, but the link is dead.

Could anyone help here?

Cheers
Charlie


skidracer(Posted 2007) [#2]
Try updating to latest fasm, pretty sure it will fix it:

http://flatassembler.net/download.php


jkrankie(Posted 2007) [#3]
I'm still getting the out of memory error with the new version

Building BulletCandyV2
Compiling:BulletCandyV2Setup.bmx
flat assembler version 1.67.22 (16384 kilobytes memory)
error: out of memory.
Build Error: Failed to assemble /home/c-knight/Desktop/BC update 6/.bmx/BulletCandyV2Setup.bmx.release.linux.x86.s
Process complete

What else could i try?

Cheers
Charlie


JoshK(Posted 2007) [#4]
See this thread:
http://blitzmax.com/Community/posts.php?topic=67478


jkrankie(Posted 2007) [#5]
Every time i click on a link to another thread, i get an internal error message. Any chance someone could post the important bit of that thread in here?

Cheers
Charlie


jkrankie(Posted 2007) [#6]
Ok, i got it working. I removed incbin from my media files, which got the game to compile, but i had to add incbins to text files in order to stop it crashing as soon as a window opened.

Next step, find some speakers to see if sound is working, and see if joysticks work.....

Cheers
Charlie


Dirk Krause(Posted 2007) [#7]
just for the record: the internal error message comes from the omitted 'www.' from the link - this one should work:
http://www.blitzmax.com/Community/posts.php?topic=67478


D4NM4N(Posted 2007) [#8]
http://www.blitzbasic.com/Community/posts.php?topic=67478

nah it was the blitzmax domain causing it.

I found the first fix did not work for even larger files. However, this one:
http://www.blitzbasic.com/Community/posts.php?topic=71746
works much better for me.