It's really hard to say what's happening with the given information. Here are some suggestions to perhaps understand what is going on better.
- Updated to the latest available Spring Boot version. As of me writing this, 1.3.7 is the current GA release. This will make sure that you are not running into an issue that has already been fixed.
- Likewise make sure you're using the latest SCS support. With SCS 1.1 this get's easier as you no longer use the SCS starter. New instructions. This does require your services to be SCS 1.1 as well though, so you'd have to upgrade the tile in conjunction with your services. The reason I mention this is because there is a known leak in SCS 1.0 Service Registry that causes a very slight memory growth in metaspace and an eventual OOME: metaspace.
- If running on PCF, make sure you're using Java build pack 3.8+. There were changes to the default memory calculations in this release and it makes Java applications running on PCF more stable.
- Hook up a profiler to your application. This will help you to debug 95% of memory problems. It's easier when you can run your application locally, but you can still do it when running your app on PCF. Here's instructions for doing this with YourKit.
Hope that helps!