Bug #13069
Updated by Natalia Gorelits 6 months ago
На проекте stpo был назначен внешний префикс айди на stpo (новое имя атрибута, не ForeignID).
Префикс назначился успешно.
Далее была предпринята попытка убрать префикс тем же путём, запрос об уверенности в отмене уже добавленного префикса не появился, в правом нижнем углу прогресс по изменениям настроек проекта продолжил обновляться (расти), спустя некоторое время выпала ошибка касательно памяти.
<pre><code class="java">
eclipse.buildId=4.26.0.20240520-1757
java.version=21.0.3
java.vendor=Eclipse Adoptium
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=ru_RU
Framework arguments: -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective
org.eclipse.core.jobs
Error
Mon May 27 19:43:20 MSK 2024
An internal error occurred during: "Change project settings for stpo".
java.lang.OutOfMemoryError: Java heap space
at org.sqlite.core.NativeDB.utf8ByteArrayToString(NativeDB.java:498)
at org.sqlite.core.NativeDB.column_name(NativeDB.java:239)
at org.sqlite.core.DB.column_names(DB.java:724)
at org.sqlite.core.CorePreparedStatement.<init>(CorePreparedStatement.java:48)
at org.sqlite.jdbc3.JDBC3PreparedStatement.<init>(JDBC3PreparedStatement.java:30)
at org.sqlite.jdbc4.JDBC4PreparedStatement.<init>(JDBC4PreparedStatement.java:19)
at org.sqlite.jdbc4.JDBC4Connection.prepareStatement(JDBC4Connection.java:35)
at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:241)
at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:205)
at com.unitesk.requality.core.storage.cache.CacheStorage.readLocked(CacheStorage.java:1166)
at com.unitesk.requality.core.storage.cache.CacheStorage.readLocked(CacheStorage.java:1126)
at com.unitesk.requality.core.storage.cache.CacheStorage.readLocked(CacheStorage.java:1118)
at com.unitesk.requality.core.storage.cache.LinksCacheMan.getCPDirectLinks(LinksCacheMan.java:863)
at com.unitesk.requality.core.storage.CPLinkResolver.getDirectLinksCacheItems(CPLinkResolver.java:866)
at com.unitesk.requality.core.storage.CPLinkResolver.removeIncorrectLinks(CPLinkResolver.java:287)
at com.unitesk.requality.core.storage.CPLinkResolver$1.changed(CPLinkResolver.java:652)
at com.unitesk.requality.core.model.TreeDB.fireNodeChange(TreeDB.java:3738)
at com.unitesk.requality.core.model.TreeDB.handleTreeNodeChanges(TreeDB.java:3217)
at com.unitesk.requality.core.model.TreeDB.saveAttributes(TreeDB.java:1549)
at com.unitesk.requality.core.model.TreeDB.commitAttributes(TreeDB.java:1519)
at com.unitesk.requality.core.attribute.AttributeStorage.commitChanges(AttributeStorage.java:1966)
at com.unitesk.requality.core.model.TreeDB$6.changeAttributes(TreeDB.java:2838)
at com.unitesk.requality.core.transaction.SaveAttributes.apply(SaveAttributes.java:58)
at com.unitesk.requality.core.transaction.TransactionStorage.applyOperation(TransactionStorage.java:842)
at com.unitesk.requality.core.transaction.TransactionStorage.apply(TransactionStorage.java:795)
at com.unitesk.requality.core.transaction.TransactionStorage.apply(TransactionStorage.java:753)
at com.unitesk.requality.core.model.TreeDB.commit(TreeDB.java:1740)
at com.unitesk.requality.core.model.TreeDB.commit(TreeDB.java:1695)
at com.unitesk.requality.eclipse.views.projectSettings.RequalityPropertyPage$2.runInWorkspace(RequalityPropertyPage.java:148)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:43)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
</code></pre>