00:41:48.325 INFO - Base dir: C:\Users\Administrator\Desktop\sonar-runner-dist-2.4\sonar-runner-2.4\bin\.
00:41:48.325 INFO - Working dir: C:\Users\Administrator\Desktop\sonar-runner-dist-2.4\sonar-runner-2.4\bin\.\.sonar
00:41:48.325 INFO - Source encoding: UTF-8, default locale: en_US
00:41:48.325 INFO - Quality profile for java: PMD
00:41:48.332 INFO - Sensor QProfileSensor...
00:41:48.336 INFO - Sensor QProfileSensor done: 4 ms
00:41:48.336 INFO - Sensor CpdSensor...
00:41:48.336 INFO - SonarEngine is used for java
00:41:48.336 INFO - Sensor CpdSensor done: 0 ms
00:41:48.336 INFO - Sensor InitialOpenIssuesSensor...
00:41:48.486 INFO - Sensor InitialOpenIssuesSensor done: 150 ms
00:41:48.486 INFO - Sensor ProfileEventsSensor...
00:41:48.602 INFO - Sensor ProfileEventsSensor done: 116 ms
00:41:48.603 INFO - Sensor ProjectLinksSensor...
00:41:48.605 INFO - Sensor ProjectLinksSensor done: 2 ms
00:41:48.606 INFO - Sensor VersionEventsSensor...
00:41:48.631 INFO - Sensor VersionEventsSensor done: 26 ms
00:41:48.631 INFO - Sensor FileHashSensor...
00:41:48.631 INFO - Sensor FileHashSensor done: 0 ms
00:41:48.794 INFO - Execute decorators...
00:41:49.256 INFO - Store results in database
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
Total time: 1:19:23.133s
Final Memory: 11M/494M
INFO: ------------------------------------------------------------------------
ERROR: Error during Sonar runner execution
org.sonar.runner.impl.RunnerException: Unable to execute Sonar
at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:91)
at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)
at java.security.AccessController.doPrivileged(Native Method)
at org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
at org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
at org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)
at org.sonar.runner.api.Runner.execute(Runner.java:100)
at org.sonar.runner.Main.executeTask(Main.java:70)
at org.sonar.runner.Main.execute(Main.java:59)
at org.sonar.runner.Main.main(Main.java:53)
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOfRange(Arrays.java:2694)
at java.lang.String.<init>(String.java:203)
at java.lang.StringBuilder.toString(StringBuilder.java:405)
at com.persistit.Value.get(Value.java:2143)
at com.persistit.DefaultValueCoder$ObjectFieldAccessor.fromValue(DefaultValueCoder.java:560)
at com.persistit.DefaultValueCoder.renderDefaultFields(DefaultValueCoder.java:1154)
at com.persistit.DefaultValueCoder.render(DefaultValueCoder.java:1132)
at com.persistit.DefaultValueCoder.get(DefaultValueCoder.java:1065)
at com.persistit.Value.get(Value.java:2413)
at com.persistit.encoding.CollectionValueCoder.render(CollectionValueCoder.java:220)
at com.persistit.encoding.CollectionValueCoder.get(CollectionValueCoder.java:167)
at com.persistit.Value.get(Value.java:2413)
at com.persistit.DefaultValueCoder$ObjectFieldAccessor.fromValue(DefaultValueCoder.java:560)
at com.persistit.DefaultValueCoder.renderDefaultFields(DefaultValueCoder.java:1154)
at com.persistit.DefaultValueCoder.render(DefaultValueCoder.java:1132)
at com.persistit.DefaultValueCoder.get(DefaultValueCoder.java:1065)
at com.persistit.Value.get(Value.java:2413)
at com.persistit.encoding.CollectionValueCoder.render(CollectionValueCoder.java:232)
at com.persistit.encoding.CollectionValueCoder.get(CollectionValueCoder.java:167)
at com.persistit.Value.get(Value.java:2413)
at com.persistit.DefaultValueCoder$ObjectFieldAccessor.fromValue(DefaultValueCoder.java:560)
at com.persistit.DefaultValueCoder.renderDefaultFields(DefaultValueCoder.java:1154)
at com.persistit.DefaultValueCoder.render(DefaultValueCoder.java:1132)
at com.persistit.DefaultValueCoder.get(DefaultValueCoder.java:1065)
at com.persistit.Value.get(Value.java:2413)
at com.persistit.Value.get(Value.java:2015)
at org.sonar.batch.index.Cache$ValueIterator.next(Cache.java:400)
at org.sonar.batch.index.Cache$ValueIterator.next(Cache.java:373)
at org.sonar.core.issue.db.IssueStorage.batchInsert(IssueStorage.java:77)
at org.sonar.core.issue.db.IssueStorage.save(IssueStorage.java:66)
at org.sonar.batch.issue.IssuePersister.persist(IssuePersister.java:52)
at org.sonar.batch.phases.PhaseExecutor.executePersisters(PhaseExecutor.java:163)
ERROR:
ERROR: Re-run SonarQube Runner using the -X switch to enable full debug logging.
这些是我用过的插件abacus、checkstyles、pmd、java、无用代码跟踪数据库:MySQL
提前致谢
上面链接中的代码正在工作,但可以传输到一定数量的数据。当我试图传输一个大小约为334 MB的.mkv格式的电影时,它给出了“内存不足,java堆大小”的错误。我是一个乞丐,我不知道如何解决这个问题,我试图在客户端程序中增加缓冲区大小,但问题仍然存在。请帮帮我.
我是刚到爪哇的。我只是试图了解如何处理堆内存溢出及其原因。有人能在下面的代码中帮助我为什么它会抛出这个错误吗。我怎么能避免。 错误: 线程“main”Java.lang.OutOfMemoryError中出现异常:Java.util.arrays.copyof(arrays.Java:2361)在Java.lang.AbstractStringBuilder.ExpandCapacity(Abst
问题内容: 今天,我运行了用于文件系统索引编制的脚本,以刷新RAID文件索引,并在4小时后崩溃并出现以下错误: 服务器配备16GB RAM和24GB SSD交换。我非常怀疑我的脚本是否超过了36gb的内存。至少不应该 脚本使用文件元数据(修改日期,权限等,无大数据)创建存储为对象数组的文件索引 过去,我曾经用此脚本经历过奇怪的节点问题,这使我不得不这样做。在处理诸如String之类的大文件时,由于
我已经经历了奇怪的节点问题在过去与这个脚本迫使我。在处理像String这样的大文件时,node会出现故障,将索引拆分为多个文件。有什么方法可以改进nodejs的内存管理与庞大的数据集?
问题内容: 编译Android项目时如何解决? 升级到Android Studio版本1后,我得到了这个。但是,我不认为这是问题所在。当我开始将应用程序升级到SDK 21之前(这是在SDK 20之前)的可能性最大。但是我也不是很确定。 我在Google周围搜索了一些 修复程序,但找不到可行的解决方案。大多数修复是针对Eclipse IDE的。 这是编译时遇到的完整logcat错误: 是因为我使用了
安全上下文:000001af8a2cfb61 2:/*匿名*/[C:\project_folder\node_modules\source-map\lib\source-node.js:100][pc=0000016e99866533](this=00000346870554e1,mapping=000003c18fdc93c9)3:参数适配器框架:3->1 4:InnerArrayForEach