I get this error
java.lang.OutOfMemoryError: Requested array size exceeds VM limit
when upserting an MLSerialPipeline of a relatively large RandomForest model (NUMBER OF TREES: 250 and MINIMAL NUMBER OF SAMPLES IN LEAF: 5 and NUMBER OF FEATURES: 40). However, checking the old_gen on Splunk I don’t see the memory level spike up anywhere close to 100%. It only goes up to ~30%. What do you recommend? Is the reason I don’t see the spike in memory on Splunk that it happens and fails so fast that is not captured by Splunk?