Wednesday 2 January 2019

Java memory error, momoria

Error de java cuando el sistema falla en darle memoria, no el fallo normal

[error occurred during error reporting (null), id 0xc00000fd]

#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 4088 bytes for AllocateHeap
# An error report file with more information is saved as:
# X:\path\hs_err_pid22304.log



El error normal tiene esta pinta:

java.lang.OutOfMemoryError: Java heap space” error?
java.lang.OutOfMemoryError : GC overhead limit exceeded


En el primer caso la máquina estaba petada y hubo que reiniciarla.
El segundo es que llegué al máximo de la memoria permitida, parámetro -Xmx1024M o -Xmx2G