Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by AeroCompatible · Jul 26, 2014 at 11:53 PM · fatal error

Fatal Error - Could not allocate memory

alt text

This stupid error message keeps showing up when I edit my map and add things to my map. The timing is random and it crashes my Editor every time. My map is very large and I'm almost certain this is what's causing it but I need my map to be large because its an open world RPG game and I am using multiple servers to host the game along with multiple graphics settings. None of these have been set yet however, the game has 11 zones wide by 14 zones long and each zone is 5000x5000 with a height of 1000. If there is a way around this please help me out! Thanks is advance to any advice givers!

stupid error.png (52.1 kB)
Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image feba · Jan 18, 2016 at 09:56 AM 0
Share

Buenas tardes, por favor si pudieran ayudarme a resolver ese problema que muestra la imagen :D, cada vez que hago correr una escena en donde tiene varios recursos se cuelga la maquina y me sale ese error de memoria :( espero poder contar con su ayuda por favor

avatar image KdRWaylander feba · Jan 18, 2016 at 09:57 AM 0
Share

Approximate trad:

Good afternoon, if you could please help me solve this problem displaying the image: D, every time I run a scene where several resources machine hangs and I get the memory error :( I hope I can count on your help please

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by rutter · Jul 27, 2014 at 05:38 AM

Unity's a 32-bit application, which means that you're forced to operate within the limits of a 32-bit memory space. In particular, you can address at most 2^32 bytes of memory, and some operating systems apply specific restrictions beyond that; running a 32-bit app in Windows, for example, your max effective heap size is usually near or under 2GB. The numbers quoted in that error message are pushing that hard -- specifically, it looks like your heap is running out of address space.

It's also possible that rampant heap allocation has led to memory fragmentation. If that's the problem, a restart or reboot might help.

64-bit editor support may be coming with Unity 5.

Depending on what exactly you're doing, you might be able to free system resources prior to expensive operations... or, if running your game at all is too taxing, you might be able to optimize the game's architecture to help.

For example, do you really need everything in one monolithic map? Can you stream content in and out? Is there anything you can do to reduce heap allocation, both in the editor and while the game is running? These are challenges that many open-world games have to address during development.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

my project broken help me 1 Answer

License issue detected! 3 Answers

Fatal Error in GC 0 Answers

Debug.log firing late? 2 Answers

i have a fatal error how do fixed it? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges