playMaker

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

RC

  • Full Member
  • ***
  • Posts: 148
Android Profiling Garbage Collector Spike Help?
« on: November 20, 2015, 02: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


RC

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

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Android Profiling Garbage Collector Spike Help?
« Reply #2 on: November 20, 2015, 04: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.