Title: IDEA hangs during test generation · Issue #1207 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: IDEA hangs during test generation · Issue #1207 · UnitTestBot/UTBotJava
X Title: IDEA hangs during test generation · Issue #1207 · UnitTestBot/UTBotJava
Description: Description I've faced the problem that IDEA becomes not responsible during several test generations with the latest RC builds. While it's most probably caused by insufficient memory allocated to IDEA, UTBot test generation should not ca...
Open Graph Description: Description I've faced the problem that IDEA becomes not responsible during several test generations with the latest RC builds. While it's most probably caused by insufficient memory allocated to I...
X Description: Description I've faced the problem that IDEA becomes not responsible during several test generations with the latest RC builds. While it's most probably caused by insufficient memory alloca...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/issues/1207
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IDEA hangs during test generation","articleBody":"**Description**\r\n\r\nI've faced the problem that IDEA becomes not responsible during several test generations with the latest RC builds. While it's most probably caused by insufficient memory allocated to IDEA, UTBot test generation should not cause hang of IDEA without ability to cancel test generation process.\r\n\r\n**To Reproduce**\r\n\r\nMost of the times I've faced that problem after the following steps:\r\n1. Open UTBot project\r\n2. Generate tests for [org.utbot.examples.algorithms.Sort](https://github.com/UnitTestBot/UTBotJava/blob/main/utbot-sample/src/main/java/org/utbot/examples/algorithms/Sort.java)\r\n\r\n**Expected behavior**\r\n\r\nTests are generated\r\n\r\n**Actual behavior**\r\n\r\nTest generation started but in a about a minute IDEA stops to respond to user interaction. Once it finished generation in about 17min, but latter hanged again. Other times I killed IDEA after waiting for several minutes. \r\n\r\n**Visual proofs (screenshots, logs, images)**\r\n\r\n[Thread dumps](https://github.com/UnitTestBot/UTBotJava/files/9836531/log.zip)\r\n\r\n**Environment**\r\nIDEA 2022.1.4, with default `-Xmx2022m` in VM settings\r\nUTBot - [utbot-intellij-2022.10.459 - build from unittestbot/rc10192022](https://github.com/UnitTestBot/UTBotJava/actions/runs/3281195826)\r\n\r\n**Additional information**\r\nIncreasing IDEA memory to 4Gb seems resolves the problem. But I believe UTBot still should not cause hangs in IDEA and still be cancelable. ","author":{"url":"https://github.com/tyuldashev","@type":"Person","name":"tyuldashev"},"datePublished":"2022-10-21T07:21:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/1207/UTBotJava/issues/1207"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f79eaebd-e486-631f-275b-8882ae5ba795 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9C36:131A96:510355:6EBE07:698F0179 |
| html-safe-nonce | d9380a39fa268f6443b2810c6d76b70eec794e65c38162744da46f7f61fddd3b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzM2OjEzMUE5Njo1MTAzNTU6NkVCRTA3OjY5OEYwMTc5IiwidmlzaXRvcl9pZCI6IjI3MjMwMzc3MTMwMDMzODExMTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 92aed232ecb4d2806f73b2fe29ee95d840f7ad1f725959f0f2e42d3a28669978 |
| hovercard-subject-tag | issue:1417876584 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/UnitTestBot/UTBotJava/1207/issue_layout |
| twitter:image | https://opengraph.githubassets.com/76b044626f27bed79de118814b3fba806c00d6db4a0f0ff1af2ddce2e90570da/UnitTestBot/UTBotJava/issues/1207 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/76b044626f27bed79de118814b3fba806c00d6db4a0f0ff1af2ddce2e90570da/UnitTestBot/UTBotJava/issues/1207 |
| og:image:alt | Description I've faced the problem that IDEA becomes not responsible during several test generations with the latest RC builds. While it's most probably caused by insufficient memory allocated to I... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tyuldashev |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f7bf82d8907f81525d95af82e60354b419d083df9534c8631d06bb9c0bf07ac |
| turbo-cache-control | no-preview |
| go-import | github.com/UnitTestBot/UTBotJava git https://github.com/UnitTestBot/UTBotJava.git |
| octolytics-dimension-user_id | 87413538 |
| octolytics-dimension-user_login | UnitTestBot |
| octolytics-dimension-repository_id | 480810501 |
| octolytics-dimension-repository_nwo | UnitTestBot/UTBotJava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 480810501 |
| octolytics-dimension-repository_network_root_nwo | UnitTestBot/UTBotJava |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 29d97d94d5b31f96c01179273264722362f058e7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width