Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SearchBar increases memory by 1MB.

 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just curious if you have seen this.

I have an iPad app which uses a SearchBar. I have added the two delegate methods. The one that gets called when you touch in the textfield has no code in it. However, that point you touch in the searchbar's textfield I see memory increase by one MB. Actually touch in increases about 600KB, then first character typed in increases it the remaining 400KB.

Luckily my app doesn't crash.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic