---
title: "the jvm could not be started the maximum heap size…"
author: "IThead"
date: "2012-11-28T14:27:04Z"
tags: []
categories: ["企业架构"]
slug: "the-jvm-could-not-be-started-the-maximum-heap-size"
draft: false
lastmod: "2012-11-28T14:27:04Z"
id: 1736606
url: "https://ithead.iteye.com/blog/1736606"
---

异常：IntelliJ IDEA启动报错：the jvm could not be started the maximum heap size…

解决办法：
找到文件/bin/idea.exe.vmoptions

```xml
-Xms128m
-Xmx512m
-XX:MaxPermSize=250m <!-- 把这里的250改小一点，比如150，就可以了-->
-XX:ReservedCodeCacheSize=64m
```