Novahq.net Forum

Novahq.net Forum (https://novahq.net/forum/index.php)
-   Tech Support (https://novahq.net/forum/forumdisplay.php?f=37)
-   -   Memory Allocation Error (https://novahq.net/forum/showthread.php?t=52771)

Whistlergal 03-23-2021 10:59 PM

Memory Allocation Error
 
I am making my first map in the NILE program and am fairly new to JO. I have loaded my map into a server to host and look at it several times, but lately I have had no luck and get the error message: Memory Allocation Failed - Colormap. It tells me my mission is too large but I only have 429 objects in my map so not sure what is going on. I have tried changing terrains and that helped for a while but now and getting the same message again. Any help would be appreciated.

jabo1SFH 03-24-2021 12:57 AM

429 objects or is that a total amount of assets within the map?

do you have any AI bots in your map? if so, make sure you keep the count to around 200(this should also include players spawn points).

also, if you do have bots, make sure you do not have too many different ones. i suggest no more than 10 different bots if you are going to have 150+.

:headbang:

Whistlergal 03-24-2021 11:43 AM

Yes the map so far has only 429 objects placed into it including IAs, emplaced weapons, buildings, vehicles etc. I have 207 persons, one start and 6 spawn points in it so far but can certainly reduce that number if you think that will help. I have tried different terrains as some seem to work better than others, especially the flatter ones but am getting the message again even with the flatter ones. jabo1SFH thank you so much for your suggestions for me to try! I am working on a laptop as I don't have a desktop any more and wondered if that might be a hindrance. I have 16G of RAM.

jabo1SFH 03-25-2021 01:14 AM

you should be fine on the laptop as allocation errors are due to a mixture of issues within the map itself.

here is the best advice to give right now: make a backup copy of your map as it is right at this point, then slowly backtrack and remove items until the issue no longer persists in that copy. name the copy like mapnameA or something to that effect.

another thing that can cause an allocation error is too many different items(such as buildings). copy and paste is a very good friend in making maps in joint ops as the allocation for the memory of a copied item increases slightly instead of adding a new item which will increase allocation usage.

take a look at some of the maps i made in joint ops and you will see copy and paste hard at work in there, lol.

here: https://novahq.net/maps.php?SearchQuery=jabo1SFH

:headbang:

Whistlergal 03-25-2021 07:13 PM

Thank you again for the wonderful suggestions. I have taken out many of the IAs that I had pasted in just as runners and am now able to host the map just to try it out. I have saved copies at different points in case I run into problems again and add too many items. I will definitely try copy and paste if that lets me put in more items. This is all new to me so any suggestions are greatly appreciated. At the rate I am going I may have a map ready in a year or two :fingersx: I have not even begun to use Nile's Little Helper.

jabo1SFH 03-26-2021 02:38 AM

Quote:

Originally Posted by Whistlergal (Post 398750)
Thank you again for the wonderful suggestions. I have taken out many of the IAs that I had pasted in just as runners and am now able to host the map just to try it out. I have saved copies at different points in case I run into problems again and add too many items. I will definitely try copy and paste if that lets me put in more items. This is all new to me so any suggestions are greatly appreciated. At the rate I am going I may have a map ready in a year or two :fingersx: I have not even begun to use Nile's Little Helper.

hey, no problem. just keep at it and im sure we will all still be here when your map is released!

i have 2 ic maps i need to finish. put them on hold due to creators block.


:headbang:

Whistlergal 03-27-2021 06:32 PM

I would really like to find a good city terrain without grass to stick through the bottom of buildings. I can't find such a thing in the list. Just an idea for a future map should I ever finish this one. Is there anywhere which shows what the different terrains look like without having to go through the whole list and trying them, only to not find what you are looking for?

jabo1SFH 03-27-2021 07:00 PM

yes, tiles.

tiles will remove grass from the terrain. i am not sure how to locate them in nile, however.

most mappers who make city maps use a flat terrain, or a terrain with a large flat area. in the mission editor we can click on the depth map which will show us black areas that would be the flat spots on the terrain. i do not remember if nile shows depth.

:headbang:

Whistlergal 03-28-2021 06:00 PM

I have placed some tiles in a building and it worked to get rid of the grass.

jabo1SFH 03-28-2021 08:22 PM

Quote:

Originally Posted by Whistlergal (Post 398792)
I have placed some tiles in a building and it worked to get rid of the grass.

:gj:


:headbang:

MAJWIZ 04-02-2021 05:09 PM

when you save the map use SAVE AND EXPORT W/STATS
IF THIS IS ("10023K - Approximate Vertex Data")is larger then 20000k you will ALWAYS GET AN ERROR. This means you have to many objects on map. you will need to remove some objects IE: non-drivable tanks fuel trucks to many trees too much fire etc...
good luck majwiz

jabo1SFH 04-03-2021 05:43 AM

Quote:

Originally Posted by MAJWIZ (Post 398866)
when you save the map use SAVE AND EXPORT W/STATS
IF THIS IS ("10023K - Approximate Vertex Data")is larger then 20000k you will ALWAYS GET AN ERROR. This means you have to many objects on map. you will need to remove some objects IE: non-drivable tanks fuel trucks to many trees too much fire etc...
good luck majwiz

yeah, i try to keep my allocation around 8000k-9000k. copy and paste!


:headbang:

Whistlergal 04-05-2021 12:44 AM

Thank you for your replies. It was working fine after I removed some of the AIs and now is not again, although I have no more objects or AIs than when it was working. Also when I go to test the map in the Novaworld game I now have several copies of the map in the missions list although I delete them every time when I leave. Not sure where I am going wrong but will keep trying to see if I can make something work right. I hate to give up but..............:sad5:

jabo1SFH 04-05-2021 01:19 AM

Quote:

Originally Posted by Whistlergal (Post 398917)
Thank you for your replies. It was working fine after I removed some of the AIs and now is not again, although I have no more objects or AIs than when it was working. Also when I go to test the map in the Novaworld game I now have several copies of the map in the missions list although I delete them every time when I leave. Not sure where I am going wrong but will keep trying to see if I can make something work right. I hate to give up but..............:sad5:


make sure to move any copies you were using to find your errors into a separate folder. you can create new folders in your jo directory. just call the folder "backups".

even though i do not have nile, you can attach your .npj file to a reply here and i can convert it to a .mis file and take a look in the med, if you like.


:headbang:

Whistlergal 04-06-2021 03:40 PM

I have tried to open the npj map in AWmed Editor but get the error error parsing mis file. Also I can't SAVE AND EXPORT W/STATS in the NILE program. That option only appears in the AWmed Editor program where I can't open the npj file.

jabo1SFH 04-07-2021 01:42 AM

yeah, npj files will not open in the med. you have to convert them to a .mis file using npj2mis converter.


:headbang:

jabo1SFH 04-11-2021 04:31 PM

1 Attachment(s)
here is a list of .wac commands that can be used in the game:




:headbang:

Whistlergal 04-16-2021 09:42 PM

Super! Thank you for that file of commands.

jabo1SFH 04-17-2021 03:52 AM

Quote:

Originally Posted by Whistlergal (Post 399139)
Super! Thank you for that file of commands.

you are welcome.


:headbang:

thewad 07-29-2021 04:29 PM

Memory Allocation Error
 
I am getting this error on certain maps on one computer but not the other computer . I even made a copy of my hard drive and placed it in another pc to see if it made a difference . And it did , map played and rotation to another map with no problem . Crazy thing that these maps will work on two computers but will not on two other computers . I have noticed that these maps are some that DID play fine but now give this error . There has got to be something in the folder in one pc's AW2 and not the other but I cannot find it. Any help would be appreciated . BTW I emphasize the fact these are mostly maps that did play fine but now ,give that error .


All times are GMT -5. The time now is 12:51 PM.

Powered by vBulletin®