Playmaker Forum

PlayMaker Help & Tips => Android Help => Topic started by: rongconcrx on November 20, 2015, 12:39:04 PM

Title: Android Profiling Garbage Collector Spike Help?
Post by: rongconcrx 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

Title: Re: Android Profiling Garbage Collector Spike Help?
Post by: rongconcrx on November 20, 2015, 12:39:33 PM
here is another one
Title: Re: Android Profiling Garbage Collector Spike Help?
Post by: Alex Chouls 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.