Skip to content

Allow to configure memory allocation for UTBot #2664

Open
@tyuldashev

Description

@tyuldashev

Description
Sometimes during test generation UTBot fails with OutOfMemoryError exception (see comment ). Currently UTBot subprocess starts with default memory settings and user cannot change it to resolve such problem.

Expected behavior
There is setting .utbot\settings.properties file to change memory allocation settings. For now it seems to be a rare problem, so I think we should not expose it to IDEA settings UI.

Potential alternatives
Dynamically decide how much memory to use based on available memory. But that seems more error-prone solution and may not resolve such problem.

Metadata

Metadata

Assignees

Labels

comp-codegenIssue is related to code generatorctg-enhancementNew feature, improvement or change requestspec-performancePerformance-related issue

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions