1. 程式人生 > >修改eclipse執行時記憶體佔用大小

修改eclipse執行時記憶體佔用大小

1.在eclipse安裝目錄找到 eclipse.ini檔案 2.開啟如下

-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms256m
**-Xmx800m**
```ruby require 'redcarpet' markdown = Redcarpet.new("Hello World!") 
puts markdown.to_html 
```

3.修改高亮程式碼塊的數值