To avoid infinite growth of collected data, it is possible to limit the number of events to be recorded in the profiler agent.
When writing a probe:
table API method
suppresses recording of non-interesting short events.
See the method's Javadoc for detail.
Built-in probe AWTEvents is an example of using the method.
In profiler agent: startup option
probetablelengthlimit=<number of rows>
limits the number of rows to be stored by the profiler agent per table.
If a table reaches the limit, it will no longer be populated until cleared.
Default value is 20000.