# Runtime: VirtualAlloc of 1056768 bytes failed with errno=1455

**URL:** https://discuss.elastic.co/t/runtime-virtualalloc-of-1056768-bytes-failed-with-errno-1455/238983
**Category:** Beats
**Tags:** filebeat
**Created:** [June 28, 2020, 3:03am UTC](https://discuss.elastic.co/t/runtime-virtualalloc-of-1056768-bytes-failed-with-errno-1455/238983 "2020-06-28T03:03:48Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bevano](https://avatars.discourse-cdn.com/v4/letter/b/6bbea6/32.png) [@bevano](https://discuss.elastic.co/u/bevano)
#### Post date: [June 28, 2020, 3:03am UTC](https://discuss.elastic.co/t/runtime-virtualalloc-of-1056768-bytes-failed-with-errno-1455/238983/1 "2020-06-28T03:03:48Z")

</div>

Hi All,  
Wondering whether any one can help me understand what happened. Been running filebeat for the past 6 months, and have been upgrading accordingly to our logstash. Currently on version 7.7

Never has it crashed out and it recovered after i manually restarted the service.  
The host OS is Windows Server 2012 R2 - 6 CPU - 12GB RAM  
The largest log file i am reading can reach 2GB in a single day. There are another 5 log files i am reading and these reach around 30MB

```auto
    runtime: VirtualAlloc of 1056768 bytes failed with errno=1455
    fatal error: out of memory

    runtime stack:
    runtime.throw(0x280317d, 0xd)
    	/usr/local/go/src/runtime/panic.go:774 +0x79
    runtime.sysUsed(0xc0013c8000, 0x102000)
    	/usr/local/go/src/runtime/mem_windows.go:83 +0x230
    runtime.(*mheap).allocSpanLocked(0x46248e0, 0x81, 0x4642b88, 0x203000400000000)
    	/usr/local/go/src/runtime/mheap.go:1228 +0x203
    runtime.(*mheap).alloc_m(0x46248e0, 0x81, 0x100, 0x84affff)
    	/usr/local/go/src/runtime/mheap.go:1022 +0xd0
    runtime.(*mheap).alloc.func1()
    	/usr/local/go/src/runtime/mheap.go:1093 +0x53
    runtime.(*mheap).alloc(0x46248e0, 0x81, 0x8010100, 0x5b1a648)
    	/usr/local/go/src/runtime/mheap.go:1092 +0x91
    runtime.largeAlloc(0x100020, 0x1, 0x5b1a648)
    	/usr/local/go/src/runtime/malloc.go:1138 +0x9e
    runtime.mallocgc.func1()
    	/usr/local/go/src/runtime/malloc.go:1033 +0x4d
    runtime.systemstack(0x0)
    	/usr/local/go/src/runtime/asm_amd64.s:370 +0x6b
    runtime.mstart()
    	/usr/local/go/src/runtime/proc.go:1146

    goroutine 155 [running]:
    runtime.systemstack_switch()
    	/usr/local/go/src/runtime/asm_amd64.s:330 fp=0xc00055f868 sp=0xc00055f860 pc=0x45faf0
    runtime.mallocgc(0x100020, 0x2491f80, 0xc000fa5401, 0xc0000ea580)
    	/usr/local/go/src/runtime/malloc.go:1032 +0x8d4 fp=0xc00055f908 sp=0xc00055f868 pc=0x40d3d4
    runtime.newobject(0x2491f80, 0xc0000ea580)
    	/usr/local/go/src/runtime/malloc.go:1151 +0x3f fp=0xc00055f938 sp=0xc00055f908 pc=0x40d6ef
    github.com/klauspost/compress/flate.newFastEnc(...)
    	

```

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 26, 2020, 5:04am UTC](https://discuss.elastic.co/t/runtime-virtualalloc-of-1056768-bytes-failed-with-errno-1455/238983/2 "2020-07-26T05:04:03Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
