playMaker

Author Topic: Android Profiling Garbage Collector Spike Help?  (Read 791 times)

rongconcrx

  • Full Member
  • ***
  • Posts: 113
    • View Profile
Android Profiling Garbage Collector Spike Help?
« on: November 20, 2015, 12:39:04 PM »
Hello,

I'm having this bad garbage collector spike every 179 frame, either from GUI repaint or PlaymakerFSMUpdate, that I'm trying to figure out how to reduce or get ride of.

How do you find the object that is causing it?

Any help would be appreciated.Thanks


rongconcrx

  • Full Member
  • ***
  • Posts: 113
    • View Profile
Re: Android Profiling Garbage Collector Spike Help?
« Reply #1 on: November 20, 2015, 12:39:33 PM »
here is another one

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3207
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: Android Profiling Garbage Collector Spike Help?
« Reply #2 on: November 20, 2015, 02:21:50 PM »
Are you attaching the profiler to the device? There's extra overhead in the editor.
Are you using OnGUI actions or displaying state labels?
If not you can remove PlayMakerGUI from the scene.