小编BON*_*PIE的帖子

增加 Eclipse 的堆空间

我在 16.04 上使用 Eclipse,对于某些程序,它给出了以下消息:

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
Run Code Online (Sandbox Code Playgroud)

如何增加分配的堆空间?

eclipse ram

2
推荐指数
1
解决办法
6822
查看次数

sudo apt-get(某些东西)不起作用

当我尝试下载东西时,我使用

 sudo apt-get install/upgrade (package)
Run Code Online (Sandbox Code Playgroud)

但是,这给了我错误消息:

$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
google-chrome-stable : Depends: libpango1.0-0 (>= 1.14.0) but it is not installed
                       Depends: libappindicator1 but it is not installed
E: Unmet dependencies. Try using -f.
Run Code Online (Sandbox Code Playgroud)

所以,我尝试使用-f.

sudo apt-get -f install (package)
Run Code Online (Sandbox Code Playgroud)

并且仍然有错误消息。

Reading package lists... Done
Building dependency tree       
Reading state …
Run Code Online (Sandbox Code Playgroud)

xubuntu apt dependencies

1
推荐指数
1
解决办法
6万
查看次数

标签 统计

apt ×1

dependencies ×1

eclipse ×1

ram ×1

xubuntu ×1