[1.1.87] Blueprint grid size parameter can rapidly increase memory usage and diminish performance

We are aware of them, but they have low priority. We have more important things to do. They go here in order not to take space in the main bug thread list.
spaghetsie
Burner Inserter
Burner Inserter
Posts: 5
Joined: Thu Jun 30, 2022 11:14 pm
Contact:

[1.1.87] Blueprint grid size parameter can rapidly increase memory usage and diminish performance

Post by spaghetsie »

When editing a blueprint a player can set that blueprint grid size. There doesn't seem to be a limit to how big one can set it but the game appears to be allocating more and more memory the bigger the size is and also worsening game performance. This persists until the blueprint is closed, at which point everything goes back to normal. Hovering with the cursor over the blueprint in inventory has the same impact.

This wouldn't usually be an issue since it has to be set very high to be noticeable however I fear it could be maliciously used to crash other people's games in multiplayer. All that's needed is to place such blueprint into someones inventory or making them hover over it in any other way for them to experience the performance drop. Additionally once inside one's inventory it might be very challenging getting rid of it if one's system cannot handle it.
Attachments
factorio-current.log
(5.34 KiB) Downloaded 57 times
FactorioBugReportScreenShot.png
FactorioBugReportScreenShot.png (3.24 MiB) Viewed 845 times
spaghetsie
Burner Inserter
Burner Inserter
Posts: 5
Joined: Thu Jun 30, 2022 11:14 pm
Contact:

Re: [1.1.87] Blueprint grid size parameter can rapidly increase memory usage and diminish performance

Post by spaghetsie »

The attachments have been added
Rseding91
Factorio Staff
Factorio Staff
Posts: 14903
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.87] Blueprint grid size parameter can rapidly increase memory usage and diminish performance

Post by Rseding91 »

Thanks for the report however in this case, simply don't do that. The other solution would be we limit the grid size to some small set of values.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Minor issues”