Issue: Sometimes while deploying the patch we get the temp directory out-of-memory issue and we got the below-mentioned error in the terminal or command prompt.
"The temp directory does not have enough space. To continue with the patch process, please make <<Required Space to deploy patch>> space available"
Cause: Before deploying the patch first it extracts in the temp directory and if the temp directory does have not sufficient space it throws an above-mentioned error.
Solution: We can resolve this error in two ways. First, we can delete the temp file from the temp directory. Secondly, if we don't want to delete these temp files, we can change the temp path in the patch.
To change the temp path from tmp to /adeptia/
- Open the Apply-Patch. sh file where you have downloaded the patch.
- Add the -Djava.io.tmpdir=/adeptia/AdeptiaInstallation in the java -Xms256M -Xmx2048M line and save the file.
- Similarly, if you want to recover the patch then follow the same step mentioned above in Recover-Patch.sh file
- Attaching a screenshot for your reference.
Comments
0 comments
Please sign in to leave a comment.