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
1
Question by spiceboy9994 · Oct 10, 2013 at 10:12 PM · profiler

Memory related error on iOS 7

Hi:

I have an app developed with the following:

  • xCode 4.6.3

  • Unity 4.1.5f1

  • Several external plugins like Prime31 social, Prime31 IAP, Open Source Burstly integration, etc

I have access to upload apps to testflight and download them to some of our company devices. We have an iPad 2 with iOS 7.0.2 installed and when I try to run the app on that device, I get an error. I managed to get the error from the logs and here's the important part of the logs:

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: ' NSAllocateMemoryPages(1380206665) failed'

So I checked my xCode output and when the app is starting running while connected to a device I get this error.

  • Completed reload, in 0.176 seconds voodudeV2(29079,0x3d5b2b88) malloc: mmap(size=1380208640) failed (error code=12) error: can't allocate region *** set a breakpoint in malloc_error_break to debug

However, for non iOS 7 devices, application runs perfectly (even with that error on xCode console, the app does not feel laggy). Is there any way to solve this issue without having to upgrade my dev tools?, I'm very close to a final delivery and I'm afraid of having tons on compatibility issues when migrating either Unity or xCode. I researched a lot about this and I manage to know that it is, indeed a memory issue (weird that iOS 6.x devices allow the app to run). So I started doing profilers on Unity and adding instrumentation to xcode and I'm attaching some of the screenshots. Watch for the increment to 1.4 gb!!!![Profiler

I have other 2 screenshots, 1 that compares my app with some of the ones that are runnig at the same time, and another one for my profiler, but could now load them. I can send them if anybody want them. Do you know a work around that could allow me to get rid of these issues without upgrading?

Thanks a lot.

screen shot 2013-10-10 at 4.12.21 pm.png (251.3 kB)
screen shot 2013-10-10 at 4.39.37 pm.png (148.9 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 mattssonon · Oct 11, 2013 at 08:13 AM 0
Share

I would suggest upgrading both Xcode and Unity to the latest versions, a lot of stuff happened in iOS 7, you can't expect earlier apps to run without errors, and trying to fix those ins$$anonymous$$d of just upgrading is probably unfeasible in the long run.

avatar image spiceboy9994 · Oct 11, 2013 at 03:50 PM 0
Share

thanks a lot for the suggestion... I will migrate both tools and check if that fixes the problem.

0 Replies

· Add your reply
  • Sort: 

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

17 People are following this question.

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

Related Questions

Total memory allocated increases indefinately from .80GB untill crash 3 Answers

What is "mesh count"? 0 Answers

Physics.Simulate taking a long time 1 Answer

WebCamTexture performance issue. 1 Answer

what Memory Usage difference between Unity Profiler and procrank 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