Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • 0
SuperSamir

How to shrink a table before it is read?

Question

In NuclearCraft, the Fission Reactor component has a .getReactorLayout() function, which produces a table with statistics of every single block inside the reactor. The fission reactor I'm testing out is 24x24x24 (max size) and the function produces an entirely too massive table for the computer to handle. "Unrecoverable Error, Out of Memory." How do I shrink this table before it's contents are displayed and not crash the computer?

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

The thing is, that's exactly what I'm doing. This table is just this large. Around 10 variables are contained in each block, and if there are around 13k blocks (24x24x24), the table becomes incredibly large.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.