Jump to content
3DXChat Community

too many heap sections - helpppp!


AHT

Recommended Posts

So I made this room and it got to the point when editing where it would crash. I reverted to using the lowest resolution and reducing all settings to low and removing the ticks from all the boxes. I got my friend to have a go at adding more and she's managed it on her computer -by the way the room runs perfectly in the game at max settings and resolution. Now I am attempting to import the file - even on lowest settings as noted before - it crashes and and says "too many heap sections". Is there anything I can do to import? I'm assuming it's due to there being too many object - if one string has 50 beads on and there are 50 beads per string then there are probably more than 2500 objects.

x7Iro7q.jpg

 

I'm on:

Geforce GTX 1050, intel i5 7400, 8gb apparently.

Link to comment
Share on other sites

I'll give that a miss:

 

2,532],"m":"Illum FLAT"},{"n":"Sphere","p":[-4152098,27762,3161567],"r":[0,2700000,0],"s":[154,109,170],"c":[921,532,532],"m":"Illum SMO1"},{"n":"Sphere","p":[-4152098,28083,3161567],"r":[0,2700000,0],"s":[154,109,170],"c":[921,532,532],"m":"Illum SHARP3"},{"n":"Sphere","p":[-4152098,28452,3161567],"r":[0,2700000,0],"s":[154,109,170],"c":[921,532,532],"m":"Illum FLAT"},{"n":"Sphere","p":[-4152098,28845,3161567],"r":[0,2700000,0],"s":[154,109,170],"c":[921,532,532],"m":"Illum FLAT"},{"n":"Sphere","p":[-4152098,29291,3161567],"r":[0,2700000,0],"s":[154,109,170],"c":[921,532,532],"m":"Illum FLAT"},{"n":"Sphere","p":[-4152098,29686,3161567],"r":[0,2700000,0],"s":[154,109,170],"c":[921,532,532],"m":"Illum SMO1"},{"n":"Sphere","p":[-4152098,30096,3161567],"r":[0,2700000,0],"s":[154,109,170],"c":[921,532,532],"m":"Illum FLAT"},{"n":"Sphere","p":[-4152098,30469,3161567],"r":[0,2700000,0],"s":[154,109,170],"c":[921,532,532],"m":"Illum FLAT"},{"n":"Sphere","p":[-4152098,30858,3161567],"r":[0,2700000,0],"s":[154,109,170],"c":[921,532,532],"m":"Illum FLAT"},{"n":"Sphere","p":[-4152098,31288,3161567],"r":[0,2700000,0],"s":[154,109,170],"c":[9

 

yikes!

 

Thank you for the suggestion!

Link to comment
Share on other sites

Ad the end of this file are the last objects you did add :)

My looks so after my last edit:

 

 

{"n":"Rock1","p":[-599729,-19975,-1225654],"r":[885697,3465782,301036],"s":[243379,221142,41837],"c":[1000,1000,1000],"m":"sand"},{"n":"Rock1","p":[-440979,-39547,-966507],"r":[5087,2248248,795216],"s":[-37347,52759,50321],"c":[1000,1000,1000],"m":"rock_4"},{"n":"Rock1","p":[-277326,-7178,-1314220],"r":[2700000,892991,0],"s":[25446,17140,20942],"c":[1000,1000,1000],"m":"rock_1"},{"n":"Rock1","p":[-282437,-7178,-1274550],"r":[2700000,892991,0],"s":[-5286,17141,20942],"c":[1000,1000,1000],"m":"rock_1"},{"n":"Rock1","p":[-293895,-6783,-1239829],"r":[2700000,892991,0],"s":[-21954,28154,26455],"c":[1000,1000,1000],"m":"rock_4"},{"n":"Rock1","p":[-327843,8927,-1233223],"r":[2700000,0,0],"s":[21037,24943,15015],"c":[1000,1000,1000],"m":"rock_1"},{"n":"Rock1","p":[-314791,-11884,-1204126],"r":[2700000,892991,0],"s":[14030,72015,43491],"c":[1000,1000,1000],"m":"rock_4"},{"n":"Rock1","p":[-365483,-11007,-1140572],"r":[3476805,2700000,1792991],"s":[-43591,72018,50320],"c":[1000,1000,1000],"m":"rock_4"},{"n":"Rock1","p":[-387805,-31691,-1068877],"r":[14919,2514637,824495],"s":[-43591,72018,50320],"c":[1000,1000,1000],"m":"rock_1"},{"n":"Rock1","p":[-411189,-32128,-1034379],"r":[3431210,2620836,135994],"s":[-43591,72018,50320],"c":[1000,1000,1000],"m":"rock_1"},{"n":"Tree3","p":[-580959,10000,-1181878],"r":[2700000,0,0],"s":[4304,4467,3774]},{"n":"Grass1","p":[-582391,9103,-1200818],"r":[2700000,0,0],"s":[-11471,20293,10003]},{"n":"Grass1","p":[-454820,9103,-1205940],"r":[2700000,0,0],"s":[12829,14688,10000]},{"n":"Grass1","p":[-481476,9103,-1199475],"r":[2700000,0,0],"s":[-13826,22153,10000]},{"n":"Grass1","p":[-477843,9103,-1177964],"r":[2700000,0,0],"s":[-17459,-10413,10001]},{"n":"Grass1","p":[-511575,9103,-1188312],"r":[2700000,0,0],"s":[23585,-32580,10002]},{"n":"Grass1","p":[-542407,9103,-1172667],"r":[2700000,0,0],"s":[-7245,-14517,10002]},{"n":"Grass1","p":[-560286,9103,-1172667],"r":[2700000,0,0],"s":[10633,-14517,10002]},{"n":"Grass1","p":[-549784,9103,-1199612],"r":[2700000,0,0],"s":[21135,18899,10002]},{"n":"Bush1","p":[-427756,7903,-1223995],"r":[2700000,0,0],"s":[10000,13717,10000]}]}

 

 

For example:

 

{"n":"Grass1","p":[-549784,9103,-1199612],"r":[2700000,0,0],"s":[21135,18899,10002]} should be one object with the positions...

 

Edit: You can copy this file and try it but don't remove the last double ]}]} because I think it's like html and this close the File!

Edited by Chilles
Link to comment
Share on other sites

There are some functions in the Object selection scripts that allocate small arrays or lists and re-sort objects on every frame, which may overload the heap faster than Unity mono's (pretty outdated) garbage collector can deal with. You can try using the x64 patch, it will allow you to use more memory, though no guarantee it will make any difference.

Link to comment
Share on other sites

The manual removing of objects works :)

 

Did add a Bush in the World Editor and remove this of the file.

Well maybe should it works if she removes objects until she can this file again open in game that would save at least a large part of work :)

Link to comment
Share on other sites

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
×
×
  • Create New...