My Oracle Support Banner

MMAP Failed With ENOMEM OR EAGAIN When Reading WebLogic Store File on HP-UX (Doc ID 2420443.1)

Last updated on JULY 09, 2018

Applies to:

Oracle WebLogic Server - Version 12.1.3.0.0 and later
HP-UX Itanium

Symptoms

In HP-UX OS, the below lack of resources exception occurs when there there is no apparent lack of memory detected in swap, VM, memory etc using HP Performance Agent.

<Emergency> <Store> <BEA-280060> <Store "WLS_DIAGNOSTICS": weblogic.store.PersistentStoreFatalException: java.io.IOException: mmap failed due to lack of resources
weblogic.store.PersistentStoreFatalException: java.io.IOException: mmap failed due to lack of resources
at weblogic.store.internal.PersistentStoreImpl.synchronousFlush(PersistentStoreImpl.java:1166)
at weblogic.store.internal.PersistentStoreImpl.run(PersistentStoreImpl.java:1116)
at java.lang.Thread.run(Thread.java:745)
Caused By: java.io.IOException: mmap failed due to lack of resources
at weblogic.store.io.file.direct.FileMapping.mapView(FileMapping.java:177)
at weblogic.store.io.file.direct.FileMapping.remapViewInit(FileMapping.java:143)
at weblogic.store.io.file.direct.FileMapping.getMappedBuffer(FileMapping.java:213)
at weblogic.store.io.file.StoreFile.mappedRead(StoreFile.java:528)
at weblogic.store.io.file.Heap.read(Heap.java:1195)
Truncated. see log file for complete stacktrace
Caused By: java.lang.OutOfMemoryError: mmap failed with ENOMEM or EAGAIN
at weblogic.store.io.file.direct.DirectIONative.mapFile(Native Method)
at weblogic.store.io.file.direct.DirectIONativeImpl.mapFile(DirectIONativeImpl.java:95)
at weblogic.store.io.file.direct.FileMapping.mapView(FileMapping.java:172)
at weblogic.store.io.file.direct.FileMapping.remapViewInit(FileMapping.java:143)
at weblogic.store.io.file.direct.FileMapping.getMappedBuffer(FileMapping.java:213)
Truncated. see log file for complete stacktrace

 The Domain\servers\servername\data\store\WLS_DIAGNOSTICSxxxxxx.DAT is just 100MB at most.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.