Minecraft crashes all the time. Solutions?

St
- in Launchers
8

Before I had no problems with Minecraft but when I started it a few days later, it crashed constantly. I can't even enter the main menu without it crashes. I tried everything. Minecraft launcher reinstalled, Java 64 reinstalled, 2 Gb ram then allocated 3 Gb ram, Vbos out, but nothing helps… Games on the 1.8.9 with Optifine. I would be happy about an answer.

Crash message:

# There's insufficient memory for the Java Runtime Environment to continue.

# Native memory allocation (malloc) failed to allocate 1665296 bytes for Chunk:: new

# Possible reasons:

# The system is out of physical RAM or swap space

# In 32 bit mode, the process size limit was hit

# Possible solutions:

# Reduce memory load on the system

# Increase physical memory or swap space

# Check if swap backing store is full

# Use 64 bit Java on a 64 bit OS

# Decrease Java heap size (-Xmx / -Xms)

# Decrease number of Java threads

# Decrease Java thread stack sizes (-Xss)

# Set larger code cache with -XX: ReservedCodeCacheSize =

# This output file may be truncated or incomplete.

#

# Out of memory error (allocation.cpp: 390), pid = 7976, tid = 11260

#

# JRE version: Java ™ SE Runtime Environment (8.0_51-b16) (build 1.8.0_51-b16)

# Java VM: Java HotSpot (TM) 64-bit Server VM (25.51-b03 mixed mode windows-amd64 compressed oops)

# Failed to write core dump. Minidumps are not enabled by default on client versions of

Wa

An Out of Memory error means that your PC does not have enough RAM to start the game or program.

I would need 2 infos from you to help you.

How much physical memory do you have installed in your PC?

And you have ne 32-bit (x86) or ne 64-bit version?

St

So, I have 4 GB Ram installed and 2.4 GB are free so it should work. I have a 64 bit version and Java 64 installed.

Ra

How much RAM is assigned to Minecraft?

St

I have already written only 1 then 2 then 3 Gb

Wa

Did you ever try to assign minecraft 1 GB Ram?

Ra

How can you assign 3GB if you only have 2.4GB free?

Is it a 32 or a 64bit system?

Is Java 64bit used? Or 32bit? (Please use 64bit if possible!)

St

Yes, I wrote it xD

St

Just for fun, I also tried 3GB times.