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 RolfBertram-com · May 02, 2011 at 01:25 AM · guiiosmemory

Low Memory iOS GUI recommendation?

Currently using GUIKit001, which allocates 150MB of memory on iPAD according to Xcode Instruments, which crashes the app if plenty of apps are sleeping in background. Looking for a lower memory solution. Any recommendations or Xcode Instruments memory readouts for other GUIs?

How about EZ GUI, iGUI, Prime31 Native ToolKit?

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

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Jean-Fabre · May 02, 2011 at 05:07 AM

Hi,

Never tested GUIkit001, you should contact them, because they do cover mobiles, they might have tricks and tips so that you can overcome these problems.

EZGUI has a different approach to UI and doesn't use the built in unity system, so I think this is prefered way to go about making dense UI on mobile ( or anything 2d demanding high quality when combined with SM2). You can atlas your content and minimize the memory footprint. I can safely play with one texture at 2048*2048 and one texture at 1024*1024. I am sure you can go even further, but that will get you already quite far.

Bye,

Jean

Comment
Add comment · Show 4 · 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
avatar image RolfBertram-com · May 02, 2011 at 12:46 PM 0
Share

Thanks for the tip. I contacted EZ GUI, and they said that even a scene with only one empty game object allocates 130$$anonymous$$B of memory. Seems far too much...

avatar image Jean-Fabre · May 02, 2011 at 12:59 PM 0
Share

Well, Unity framework is big yes, but that should not crash, it only crash if when receiving memory warning, your application is unable to free some memory, if not, iOS will take actions and kill your app.

avatar image RolfBertram-com · May 03, 2011 at 11:03 AM 0
Share

Got updated info from EZ GUI. 130$$anonymous$$B was a misunderstanding. He meant, Unity reserves that much memory, but does not use it. What's really strange is, that GUI$$anonymous$$it001 uses only about 10$$anonymous$$B of active memory, but overall memory, which seems to include released memory, and therefore should not matter, climbs to 150$$anonymous$$B while the GUI loads, and than it cashes. I suspect something strange going on, that is not clearly visible. GUI$$anonymous$$it001's code is quite complex, and it's not easy to troubleshoot for someone how did not write the code.

avatar image Jean-Fabre · May 03, 2011 at 12:03 PM 0
Share

You should maybe post in the forum then, cause I think it needs a proper discussion. Anyway. Complex code doesn't mean memory crash ( hopefully). Try first just their guiskin without anything, just simple onGui button or something, and start from there adding little by little and see how it performs on the device

avatar image
0

Answer by col000r · Aug 17, 2011 at 12:05 PM

Memory-usage of GUIKit001 is somewhat high because all the images are set to uncompressed by default. This was done because it looks best. Most games should run well like that, but if you do run out of memory, just try setting all the images in GUI/100percent/StandardGUI and GUI/200percent/StandardGUI to compressed and memory usage will go down. (select all the images and use GUITools > Apply Compressed GUI Texture Settings from the menu to change all at once)

I've never had any troubles on the iPad, but the one iOS system to watch out for is the 4th gen iPod Touch, because it has a retina display but only 256MB of RAM.

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

2 People are following this question.

avatar image avatar image

Related Questions

Unity crashes when GUI becomes too complex 1 Answer

Store/Stack Items 0 Answers

App Crashing on iPhone due to Texture Memory 2 Answers

Loading external Image as Texture2D increases memory consumption dramatically on iOS 0 Answers

Memory overhead associated with assets in Resources 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