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 eastwood · Aug 12, 2012 at 03:17 AM · assetbundlememory

[Lable File]DynamicHeapAllocator out of memory

Recently, I often get an "Out of Memory" crash in our webplayer. But some weeks ago, it not happens such frequently.

It happens when downloading assetsbundles.But not always at the same file or the the same place. I just doubt that if it is related with the size of assetsbundle or the size of one file in assetbundle? Actually, no assetsbundle or file in the project bigger than 8388608B.

It's really a big problem for me. Please give me some clues...

BTW, I found it happens in some browser based on IE core regularly, but in Chrome much more less.

Log Contents:

 DynamicHeapAllocator out of memory - Could not get memory for large allocationCould not allocate memory: System out of memory!
 Trying to allocate: 8388608B with 4 alignment. MemoryLabel: File
 Allocation happend at: Line:9 in C:/BuildAgent/work/d9c061b1c154f5ae/PlatformDependent/CommonWebPlugin/CompressedFileStream.cpp
 Memory overview
 
 
 [ ALLOC_TEMP_THREAD ] used: 30736B | peak: 0B | reserved: 131072B 
 
 [ ALLOC_DEFAULT ] used: 21584616B | peak: 72242967B | reserved: 83886080B 
 
 [ ALLOC_GFX ] used: 36976226B | peak: 43948954B | reserved: 41943040B 
 
 [ ALLOC_TYPETREE ] used: 2333340B | peak: 20981964B | reserved: 33554432B 
 
 [ ALLOC_CACHEOBJECTS ] used: 95922640B | peak: 170171792B | reserved: 142606336B 
 Size | Num Used| Num Free|
 32-63 | 2| 0|
 16384-32767 | 2| 9|
 32768-65535 | 0| 4|
 65536-131071 | 847| 8|
 131072-262143 | 4| 3|
 262144-524287 | 1| 8|
 524288-1048575| 0| 3|
 1048576-2097151| 0| 1|
 2097152-4194303| 0| 1|
 4194304-8388607| 0| 3|
 8388608-16777215| 1| 2|
 
 Label | Allocated| Count|Largest Alloc
 Serialization | 155680| 4| 494989|
 File | 95766960| 853| 8388608|
 *Total* | 95922640| 857| N/A
Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Drew_tm · Aug 29, 2012 at 12:45 AM

We actually am getting this crash very occasionally as well. It also lists the exact same allocation size of 8388608B. It seems to happen on the same machine when it does happen even though we test on many machines.

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

9 People are following this question.

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

Related Questions

How to import the object from server to unity 2 Answers

Asset Bundle Limitations 0 Answers

Memory leaks problem by StaticBatchingUtility.Combine() for AssetBundle 0 Answers

why UnloadUnusedAssets doesn't unload a asset? 0 Answers

Unity 5 Asset bundle unloading problem 0 Answers


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