Jump to content

Not enough memory


Recommended Posts

Hello i try to store objects.The objectsinfos(position,model,rotation) are stored in a table.When i want to safe the table informations i create a txt file(looks like this["Chunk:44; model:3345; x:-3300.7; y:-3700.3; z:40; rx:0; ry:0; rz:0|"].If there are 30000 objects a error appears (not enough memory).How can i solve this?

Link to comment

Ok thanks.i had this idea too.I work with a kind of "chunks" like minecraft^^ because the map will be very very big(Objects >100.000)

But i got problems with reading more than 500 files.(i want to create for each chunk a file [1600 chunks] )

Is there any other methode to store many objects?I work with tables and i dont know what the limit of tables are :S Probably i need to create more than one table to store the informations.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...