# Flows taking long to load and save - current flow file 7.5 MB

**URL:** https://discourse.nodered.org/t/flows-taking-long-to-load-and-save-current-flow-file-7-5-mb/74889
**Category:** General
**Created:** [8 February 2023 14:02 UTC](https://discourse.nodered.org/t/flows-taking-long-to-load-and-save-current-flow-file-7-5-mb/74889 "2023-02-08T14:02:22Z")
**Posts on this page:** 4
**Page:** 2

<div class="post-metadata">

### Author: ![anilsagar](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@anilsagar](https://discourse.nodered.org/u/anilsagar)
#### Post date: [21 February 2023 04:33 UTC](https://discourse.nodered.org/t/flows-taking-long-to-load-and-save-current-flow-file-7-5-mb/74889/21 "2023-02-21T04:33:17Z")

</div>

File-action nodes are for report generation purposes. They are not invoked on normal object read/write.

By the looks of file size increase for the combined function node it seems there is not much benefit combining other non-function nodes into a function node. But yes care should be taken to reduce msg cloning.

On InfluxDB , I have used proper data retention policies and also down-sampling. So InfluxDB size is under control.

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [21 February 2023 10:14 UTC](https://discourse.nodered.org/t/flows-taking-long-to-load-and-save-current-flow-file-7-5-mb/74889/22 "2023-02-21T10:14:06Z")

</div>

I think all the general things I can come up with have now been covered. I'd say that you have one option remaining and that would be to take some/all of your function nodes and convert them to native node.js modules where feasible. Not sure even that would have a major difference if consuming them still in Node-RED but the next step would be to take some discrete flows from Node-RED and translate to stand-alone node.js apps so that you didn't have all the overheads that make it so useful and easy to use but add lots of overheads.

---

<div class="post-metadata">

### Author: ![anilsagar](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@anilsagar](https://discourse.nodered.org/u/anilsagar)
#### Post date: [21 February 2023 11:26 UTC](https://discourse.nodered.org/t/flows-taking-long-to-load-and-save-current-flow-file-7-5-mb/74889/23 "2023-02-21T11:26:46Z")

</div>

Thanks Julian and rest of the forum members for your insightful comments. This discussion has helped clarify quite a few things for me.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [22 April 2023 11:27 UTC](https://discourse.nodered.org/t/flows-taking-long-to-load-and-save-current-flow-file-7-5-mb/74889/24 "2023-04-22T11:27:38Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.

[Previous page](https://discourse.nodered.org/t/flows-taking-long-to-load-and-save-current-flow-file-7-5-mb/74889.md?page=1)
