0

#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 268435456 bytes. Error detail: G1 virtual space
# Possible reasons:
# The system is out of physical RAM or swap space
# This process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# JVM is running with Zero Based Compressed Oops mode in which the Java heap is
# placed in the first 32GB address space. The Java Heap base address is the
# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
# to set the Java Heap base and to place the Java Heap above 32GB virtual address.
# This output file may be truncated or incomplete.
#
# Out of Memory Error (os_windows.cpp:3618), pid=21784, tid=19696
#
# JRE version: (17.0.17+10) (build )
# Java VM: OpenJDK 64-Bit Server VM (17.0.17+10, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#

--------------- S U M M A R Y ------------

Command Line: -Dwindows.acp=1252 -XX:MaxRAMPercentage=80 -Xss50M org.pdf24.OcrPdfOptimizer -deskew C:\Users\Admin\AppData\Local\Temp\PDF24\unlocked_5_196183390_2038435516.pdf C:\Users\Admin\AppData\Local\Temp\PDF24\ocr_377_200128140_1200524263_opt.pdf

Host: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz, 8 cores, 15G, Windows 10 , 64 bit Build 19041 (10.0.19041.6807)
Time: Fri Mar 20 08:50:19 2026 Hora estándar de Argentina elapsed time: 0.036819 seconds (0d 0h 0m 0s)

--------------- T H R E A D ---------------

Current thread (0x000002418d233580): JavaThread "Unknown thread" [_thread_in_vm, id=19696, stack(0x00000080f9d00000,0x00000080fcf00000)]

Stack: [0x00000080f9d00000,0x00000080fcf00000]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x683fb9]
V [jvm.dll+0x83a1b5]
V [jvm.dll+0x83bc2e]
V [jvm.dll+0x83c2b3]
V [jvm.dll+0x248eff]
V [jvm.dll+0x680d79]
V [jvm.dll+0x675b7a]
V [jvm.dll+0x3091a7]
V [jvm.dll+0x310776]
V [jvm.dll+0x360bbe]
V [jvm.dll+0x360dfd]
V [jvm.dll+0x2e022c]
V [jvm.dll+0x2e1138]
V [jvm.dll+0x80c6cb]
V [jvm.dll+0x36e841]
V [jvm.dll+0x7eb2a5]
V [jvm.dll+0x3f444b]
V [jvm.dll+0x3f5f31]
C [jli.dll+0x52d0]
C [ucrtbase.dll+0x21bb2]
C [KERNEL32.DLL+0x17374]
C [ntdll.dll+0x4cc91]

--------------- P R O C E S S ---------------

Threads class SMR info:
_java_thread_list=0x00007ffbeb107f58, length=0, elements={
}

Java Threads: ( => current thread )

Other Threads:
0x000002418d25cde0 GCTaskThread "GC Thread#0" [stack: 0x00000080fcf00000,0x00000080fd000000] [id=22412]
0x000002418d25ec20 ConcurrentGCThread "G1 Main Marker" [stack: 0x00000080fd000000,0x00000080fd100000] [id=13948]
0x000002419da46d00 ConcurrentGCThread "G1 Conc#0" [stack: 0x00000080fd100000,0x00000080fd200000] [id=3116]

[error occurred during error reporting (printing all threads), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffbea8c0d57]

VM state: not at safepoint (not fully initialized)

VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x000002418b02ae50] Heap_lock - owner thread: 0x000002418d233580

Heap address: 0x00000004d9800000, size: 12904 MB, Compressed Oops mode: Zero based, Oop shift amount: 3

CDS archive(s) mapped at: [0x0000000000000000-0x0000000000000000-0x0000000000000000), size 0, SharedBaseAddress: 0x0000000800000000, ArchiveRelocationMode: 1.
Narrow klass base: 0x0000000000000000, Narrow klass shift: 0, Narrow klass range: 0x0

GC Precious Log:
<Empty>

Heap:
garbage-first heap total 0K, used 0K [0x00000004d9800000, 0x0000000800000000)
region size 8192K, 0 young (0K), 0 survivors (0K)

[error occurred during error reporting (printing heap information), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffbeacad5c9]

GC Heap History (0 events):
No events

Dll operation events (1 events):
Event: 0.009 Loaded shared library C:\Program Files\PDF24\jre\bin\java.dll

Deoptimization events (0 events):
No events

Classes loaded (0 events):
No events

Classes unloaded (0 events):
No events

Classes redefined (0 events):
No events

Internal exceptions (0 events):
No events

VM Operations (0 events):
No events

Memory protections (0 events):
No events

Nmethod flushes (0 events):
No events

Events (0 events):
No events

Dynamic libraries:
0x00007ff62dd20000 - 0x00007ff62dd2e000 C:\Program Files\PDF24\jre\bin\java.exe
0x00007ffc7cc30000 - 0x00007ffc7ce28000 C:\windows\SYSTEM32\ntdll.dll
0x00007ffc3cdc0000 - 0x00007ffc3cde0000 C:\Program Files\Avast Software\Avast\aswhook.dll
0x00007ffc7b320000 - 0x00007ffc7b3e2000 C:\windows\System32\KERNEL32.DLL
0x00007ffc7a380000 - 0x00007ffc7a677000 C:\windows\System32\KERNELBASE.dll
0x00007ffc7ab40000 - 0x00007ffc7ac40000 C:\windows\System32\ucrtbase.dll
0x00007ffc30760000 - 0x00007ffc30778000 C:\Program Files\PDF24\jre\bin\jli.dll
0x00007ffc2f600000 - 0x00007ffc2f61e000 C:\Program Files\PDF24\jre\bin\VCRUNTIME140.dll
0x00007ffc7bb00000 - 0x00007ffc7bc9d000 C:\windows\System32\USER32.dll
0x00007ffc7a350000 - 0x00007ffc7a372000 C:\windows\System32\win32u.dll
0x00007ffc5a3f0000 - 0x00007ffc5a68b000 C:\windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.6926_none_60b5a53971f8f7e6\COMCTL32.dll
0x00007ffc7cbc0000 - 0x00007ffc7cbeb000 C:\windows\System32\GDI32.dll
0x00007ffc7b3f0000 - 0x00007ffc7b48e000 C:\windows\System32\msvcrt.dll
0x00007ffc7a8f0000 - 0x00007ffc7aa0a000 C:\windows\System32\gdi32full.dll
0x00007ffc7a2b0000 - 0x00007ffc7a34d000 C:\windows\System32\msvcp_win.dll
0x00007ffc7b4a0000 - 0x00007ffc7b4cf000 C:\windows\System32\IMM32.DLL
0x00007ffc79d70000 - 0x00007ffc79e67000 C:\Windows\system32\guard64.dll
0x00007ffc7b910000 - 0x00007ffc7b9c1000 C:\windows\System32\ADVAPI32.dll
0x00007ffc7b5f0000 - 0x00007ffc7b68f000 C:\windows\System32\sechost.dll
0x00007ffc7b9d0000 - 0x00007ffc7baf6000 C:\windows\System32\RPCRT4.dll
0x00007ffc7ab10000 - 0x00007ffc7ab37000 C:\windows\System32\bcrypt.dll
0x00007ffc79d60000 - 0x00007ffc79d6a000 C:\windows\system32\version.dll
0x00007ffc7ca90000 - 0x00007ffc7cbbb000 C:\windows\System32\ole32.dll
0x00007ffc7bf30000 - 0x00007ffc7c283000 C:\windows\System32\combase.dll
0x00007ffc79d50000 - 0x00007ffc79d5b000 C:\windows\system32\fltlib.dll
0x00007ffc7c310000 - 0x00007ffc7ca81000 C:\windows\System32\shell32.dll
0x00007ffc7b690000 - 0x00007ffc7b73d000 C:\windows\System32\shcore.dll
0x00007ffc56a80000 - 0x00007ffc56a8c000 C:\Program Files\PDF24\jre\bin\vcruntime140_1.dll
0x00007ffc2b7f0000 - 0x00007ffc2b87d000 C:\Program Files\PDF24\jre\bin\msvcp140.dll
0x00007ffbea5d0000 - 0x00007ffbeb23b000 C:\Program Files\PDF24\jre\bin\server\jvm.dll
0x00007ffc7b7d0000 - 0x00007ffc7b83b000 C:\windows\System32\WS2_32.dll
0x00007ffc79fd0000 - 0x00007ffc7a01b000 C:\windows\SYSTEM32\POWRPROF.dll
0x00007ffc6cac0000 - 0x00007ffc6cae7000 C:\windows\SYSTEM32\WINMM.dll
0x00007ffc79fb0000 - 0x00007ffc79fc2000 C:\windows\SYSTEM32\UMPDC.dll
0x00007ffc78970000 - 0x00007ffc78982000 C:\windows\SYSTEM32\kernel.appcore.dll
0x00007ffc559c0000 - 0x00007ffc559ca000 C:\Program Files\PDF24\jre\bin\jimage.dll
0x00007ffc785e0000 - 0x00007ffc787e1000 C:\windows\SYSTEM32\DBGHELP.DLL
0x00007ffc651f0000 - 0x00007ffc65224000 C:\windows\SYSTEM32\dbgcore.DLL
0x00007ffc7a680000 - 0x00007ffc7a702000 C:\windows\System32\bcryptPrimitives.dll
0x00007ffc2e980000 - 0x00007ffc2e9a5000 C:\Program Files\PDF24\jre\bin\java.dll

dbghelp: loaded successfully - version: 4.0.5 - missing functions: none
symbol engine: initialized successfully - sym options: 0x614 - pdb path: .;C:\Program Files\PDF24\jre\bin;C:\windows\SYSTEM32;C:\Program Files\Avast Software\Avast;C:\windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.6926_none_60b5a53971f8f7e6;C:\Program Files\PDF24\jre\bin\server

VM Arguments:
jvm_args: -Dwindows.acp=1252 -XX:MaxRAMPercentage=80 -Xss50M
java_command: org.pdf24.OcrPdfOptimizer -deskew C:\Users\Admin\AppData\Local\Temp\PDF24\unlocked_5_196183390_2038435516.pdf C:\Users\Admin\AppData\Local\Temp\PDF24\ocr_377_200128140_1200524263_opt.pdf
java_class_path (initial): C:\Program Files\PDF24\lib\jar\angus-activation-2.0.2.jar;C:\Program Files\PDF24\lib\jar\aspose-pdf-25.11.jar;C:\Program Files\PDF24\lib\jar\bcpkix-jdk15to18-1.77.jar;C:\Program Files\PDF24\lib\jar\bcpkix-jdk18on-1.82.jar;C:\Program Files\PDF24\lib\jar\bcprov-jdk15to18-1.77.jar;C:\Program Files\PDF24\lib\jar\bcprov-jdk18on-1.82.jar;C:\Program Files\PDF24\lib\jar\bcutil-jdk15to18-1.77.jar;C:\Program Files\PDF24\lib\jar\bcutil-jdk18on-1.82.jar;C:\Program Files\PDF24\lib\jar\common-image-3.12.0.jar;C:\Program Files\PDF24\lib\jar\common-io-3.12.0.jar;C:\Program Files\PDF24\lib\jar\common-lang-3.12.0.jar;C:\Program Files\PDF24\lib\jar\commons-imaging-1.0.0-alpha6.jar;C:\Program Files\PDF24\lib\jar\commons-io-2.15.1.jar;C:\Program Files\PDF24\lib\jar\commons-lang3-3.20.0.jar;C:\Program Files\PDF24\lib\jar\commons-logging-1.3.5.jar;C:\Program Files\PDF24\lib\jar\contrib-3.12.0.jar;C:\Program Files\PDF24\lib\jar\dom4j-2.1.4.jar;C:\Program Files\PDF24\lib\jar\error_prone_annotations-2.36.0.jar;C:\Program Files\PDF24\lib\jar\fontbox-3.0.6.jar;C:\Program Files\PDF24\lib\jar\gson-2.12.1.jar;C:\Program Files\PDF24\lib\jar\imageio-core-3.12.0.jar;C:\Program Files\PDF24\lib\jar\imageio-jpeg-3.12.0.jar;C:\Program Files\PDF24\lib\jar\imageio-metadata-3.12.0.jar;C:\Program Files\PDF24\lib\jar\imageio-tiff-3.12.0.jar;C:\Program Files\PDF24\lib\jar\imageio-webp-3.12.0.jar;C:\Program Files\PDF24\lib\jar\jai-imageio-core-1.4.0.jar;C:\Program Files\PDF24\lib\jar\jai-imageio-jpeg2000-1.4.0.jar;C:\Program Files\PDF24\lib\jar\jakarta.activation-api-2.1.3.jar;C:\Program Files\PDF24\lib\jar\jakarta.mail-2.0.3.jar;C:\Program Files\PDF24\lib\jar\javax.activation-api-1.2.0.jar;C:\Program Files\PDF24\lib\jar\jaxb-api-2.3.1.jar;C:\Program Files\PDF24\lib\jar\jbig2-imageio-3.0.4.jar;C:\Program Files\PDF24\lib\jar\pdf24-creator-1.0.0.jar;C:\Program Files\PDF24\lib\jar\pdf24-tools-commons-1.0.0.jar;C:\Program Files\PDF24\lib\jar\pdfbox-3.0.6.jar;C:\Program Files\PDF24\lib\
Launcher Type: SUN_STANDARD

[Global flags]
intx CICompilerCount = 4 {product} {ergonomic}
uint ConcGCThreads = 2 {product} {ergonomic}
uint G1ConcRefinementThreads = 8 {product} {ergonomic}
size_t G1HeapRegionSize = 8388608 {product} {ergonomic}
uintx GCDrainStackTargetSize = 64 {product} {ergonomic}
size_t InitialHeapSize = 268435456 {product} {ergonomic}
size_t MarkStackSize = 4194304 {product} {ergonomic}
size_t MaxHeapSize = 13530824704 {product} {ergonomic}
uint64_t MaxRAM = 16905961472 {pd product} {ergonomic}
double MaxRAMPercentage = 80.000000 {product} {command line}
size_t MinHeapDeltaBytes = 8388608 {product} {ergonomic}
size_t MinHeapSize = 8388608 {product} {ergonomic}
uintx NonNMethodCodeHeapSize = 5839372 {pd product} {ergonomic}
uintx NonProfiledCodeHeapSize = 122909434 {pd product} {ergonomic}
uintx ProfiledCodeHeapSize = 122909434 {pd product} {ergonomic}
uintx ReservedCodeCacheSize = 251658240 {pd product} {ergonomic}
bool SegmentedCodeCache = true {product} {ergonomic}
size_t SoftMaxHeapSize = 13530824704 {manageable} {ergonomic}
intx ThreadStackSize = 51200 {pd product} {command line}
bool UseCompressedClassPointers = true {product lp64_product} {ergonomic}
bool UseCompressedOops = true {product lp64_product} {ergonomic}
bool UseG1GC = true {product} {ergonomic}
bool UseLargePagesIndividualAllocation = false {pd product} {ergonomic}

Logging:
Log output configuration:
#0: stdout all=warning uptime,level,tags
#1: stderr all=off uptime,level,tags

Environment Variables:
JAVA_HOME=C:\Program Files\PDF24\jre
PATH=C:\Program Files\PDF24;C:\Program Files\Common Files\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\Git\cmd;C:\Users\Admin\AppData\Local\Programs\Python\Python313\Scripts\;C:\Users\Admin\AppData\Local\Programs\Python\Python313\;C:\Users\Admin\.cargo\bin;C:\Users\Admin\AppData\Local\Microsoft\WindowsApps;C:\Users\Admin\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Admin\.cache\lm-studio\bin;C:\Users\Admin\AppData\Local\Programs\Ollama;C:\Program Files (x86)\Nmap;C:\Users\Admin\AppData\Local\Programs\Antigravity\bin
USERNAME=Admin
TMPDIR=C:\Users\Admin\AppData\Local\Temp
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 140 Stepping 1, GenuineIntel
TMP=C:\Users\Admin\AppData\Local\Temp
TEMP=C:\Users\Admin\AppData\Local\Temp

Periodic native trim disabled

--------------- S Y S T E M ---------------

OS:
Windows 10 , 64 bit Build 19041 (10.0.19041.6807)
OS uptime: 2 days 7:35 hours
Hyper-V role detected

CPU: total 8 (initial active 8) (4 cores per cpu, 2 threads per core) family 6 model 140 stepping 1 microcode 0xbe, cx8, cmov, fxsr, ht, mmx, 3dnowpref, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, lzcnt, tsc, tscinvbit, avx, avx2, aes, erms, clmul, bmi1, bmi2, adx, avx512f, avx512dq, avx512cd, avx512bw, avx512vl, sha, fma, vzeroupper, avx512_vpopcntdq, avx512_vpclmulqdq, avx512_vaes, avx512_vnni, clflush, clflushopt, clwb, avx512_vbmi2, avx512_vbmi, hv
Processor Information for all 8 processors :
Max Mhz: 1382, Current Mhz: 1382, Mhz Limit: 1382

Memory: 4k page, system-wide physical 16122M (2057M free)
TotalPageFile size 16122M (AvailPageFile size 212M)
current process WorkingSet (physical memory assigned to process): 13M, peak: 13M
current process commit charge ("private bytes"): 61M, peak: 317M

vm_info: OpenJDK 64-Bit Server VM (17.0.17+10) for windows-amd64 JRE (17.0.17+10), built on Oct 21 2025 23:25:32 by "admin" with unknown MS VC++:1942

END.

ulisesp Asked question