This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Left4Cake's profile picture

Fatal error

Started by Left4Cake, 24 May 2015 - 12:39 AM
Left4Cake #1
Posted 24 May 2015 - 02:39 AM
This page: http://www.computercraft.info/forums2/index.php?/topic/10449-iron-note-block-music-player-cctunes-noteblock-hero/ give me this.


Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 72 bytes) in /home/ccraft/public_html/forums2/admin/sources/base/core.php on line 5390
MKlegoman357 #2
Posted 24 May 2015 - 07:32 AM
Confirmed, only that message appears.
Cranium #3
Posted 24 May 2015 - 07:38 AM
It seems to be an issue with how the original post is formatted that is causing the issue. All posts beyond the first original post work fine: http://www.computercraft.info/forums2/index.php?/topic/10449-iron-note-block-music-player-cctunes-noteblock-hero/page__st__1
Lyqyd #4
Posted 24 May 2015 - 07:42 AM
I've fixed it. Please don't put the "Example Song" data back in the post.
Bomb Bloke #5
Posted 24 May 2015 - 07:50 AM
As an alternative, this'll download a selection of NBS files:

pastebin run cUYTGbpb get k6t3fXmp Songs
Lyqyd #6
Posted 24 May 2015 - 07:55 AM
For reference, the data that was removed was a poorly serialized version of this: http://pastebin.com/S5EvSqBS

The removed data was using the old serialization format, and had numeric keys up to 2079 for the main table. It was 56kB, and the properly serialized version in the above paste is only 17kB. I don't know if the formats Bomb Bloke linked above are interoperable when extracted, but they do at least appear to be encoded for transport differently.
Bomb Bloke #7
Posted 24 May 2015 - 08:34 AM
Actually, looks like that table is supposed to represent an "NB" file - a conversion of an NBS file (… which is typically a conversion of a MID file…).

Should've been offered via pastebin in the first place, then! :P/>
Left4Cake #8
Posted 24 May 2015 - 01:49 PM
Yeah. I fell like going back in time and slapping my younger self in the head since now I am hosting all the "NB" files on a web server anyway.

Plus the song file was to big for pastebin. Witch meant it probably wasn't wise to post it on the forum either.