# What is the function of file 【/usr/src/node-red/core】 in Node-Red?

**URL:** https://discourse.nodered.org/t/what-is-the-function-of-file-usr-src-node-red-core-in-node-red/84267
**Category:** General
**Tags:** docker
**Created:** [4 January 2024 01:20 UTC](https://discourse.nodered.org/t/what-is-the-function-of-file-usr-src-node-red-core-in-node-red/84267 "2024-01-04T01:20:37Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Yesung](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/yesung/32/87392_2.png) [@Yesung](https://discourse.nodered.org/u/Yesung)
#### Post date: [4 January 2024 01:20 UTC](https://discourse.nodered.org/t/what-is-the-function-of-file-usr-src-node-red-core-in-node-red/84267/1 "2024-01-04T01:20:37Z")

</div>

I installed a **Docker based** Node-Red on the ARM v7 architecture in the Ubuntu system,

It was found that in the Docker, there is a file space **occupying a large amount** ( **/usr/src/node-red/core** , size 593.1M),

What is the purpose of this file and why does it take up so much space? Can its space occupation be reduced?

 ![1704329433528](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/6/860804373d4bce31ff68d3d4db71338abe4d5d87.png)

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [4 January 2024 09:48 UTC](https://discourse.nodered.org/t/what-is-the-function-of-file-usr-src-node-red-core-in-node-red/84267/2 "2024-01-04T09:48:43Z")

</div>

It looks like a core dump file following a crash - the timestamp is much more recent than anything else.

Is this a newly created container? What image are you using exactly?

---

<div class="post-metadata">

### Author: ![Yesung](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/yesung/32/87392_2.png) [@Yesung](https://discourse.nodered.org/u/Yesung)
#### Post date: [4 January 2024 09:58 UTC](https://discourse.nodered.org/t/what-is-the-function-of-file-usr-src-node-red-core-in-node-red/84267/3 "2024-01-04T09:58:52Z")

</div>

I installed a Docker based Node-Red using the following command，created approximately a month ago:

docker run -v /node\_red\_data:/data --group-add dialout -p 1880:1880 --privileged=true --restart=always --name mynodered -u root:dialout nodered/node-red

 ![1704362019193](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/b/dbdd945d50f504de88b8c3ec204660247c0a7352.png)

【A core dump file following a crash】

- What content will be included and under what circumstances will the file be updated？

---

<div class="post-metadata">

### Author: ![Yesung](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/yesung/32/87392_2.png) [@Yesung](https://discourse.nodered.org/u/Yesung)
#### Post date: [4 January 2024 10:02 UTC](https://discourse.nodered.org/t/what-is-the-function-of-file-usr-src-node-red-core-in-node-red/84267/4 "2024-01-04T10:02:13Z")

</div>

Thank you for your guidance

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [4 January 2024 10:02 UTC](https://discourse.nodered.org/t/what-is-the-function-of-file-usr-src-node-red-core-in-node-red/84267/5 "2024-01-04T10:02:17Z")

</div>

> - What content will be included and under what circumstances will the file be updated？

The file is generated by the OS when a process crashes. I don't know all the specific scenarios that can happen in this particular case.

It will include a full snapshot of the process memory and other things to help debug the crash - this is a standard linux thing, nothing specific to Node-RED.

You can delete the file - Node-RED doesn't use it.

---

<div class="post-metadata">

### Author: ![Yesung](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/yesung/32/87392_2.png) [@Yesung](https://discourse.nodered.org/u/Yesung)
#### Post date: [4 January 2024 10:03 UTC](https://discourse.nodered.org/t/what-is-the-function-of-file-usr-src-node-red-core-in-node-red/84267/6 "2024-01-04T10:03:55Z")

</div>

Thank you for your great help

---

<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: [18 January 2024 10:04 UTC](https://discourse.nodered.org/t/what-is-the-function-of-file-usr-src-node-red-core-in-node-red/84267/7 "2024-01-18T10:04:03Z")

</div>

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