The "Out of memory, Please increase the heap size" error message seems to be caused by two reasons:
1. You are using an older version of ADSelfService Plus
2. You are using the 32-bit version of ADSelfService Plus
To resolve this, we recommend updating the application to the latest build and migrating it to the64-bit architecture.