I cannot replicate this on when trying to decompile the method you referenced: Lcom/alibaba/sdk/android/beacon/c;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
However, keep in mind that the JVM an allocate memory at one point, when it needs some, but run garbage collection and free much later on.
Can you let me know: your jvmopt.txt settings
Give this a try to this:
- within JEB, switch to terminal view
- type: use py (access the Python scripting terminal)
- type: from java.lang import System
- type: System.gc()