Without seeing the graph I can only guess but periodic spikes are offten the cause of GC (Garbage Collector) to prevent/reduce them avoid/reduce GC allocations. As I recall there is a column in the tool to see GC allocations per frame aim to bring that to zero.
I am only guessing that your spikes are GC of course
I am only guessing that your spikes are GC of course