# Designer Crash when try to import file

**URL:** <https://forum.inductiveautomation.com/t/designer-crash-when-try-to-import-file/62514>\
**Category:** Ignition Early Access\
**Created:** [July 31, 2022, 10:13am UTC](https://forum.inductiveautomation.com/t/designer-crash-when-try-to-import-file/62514 "2022-07-31T10:13:50Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [July 31, 2022, 10:13am UTC](https://forum.inductiveautomation.com/t/designer-crash-when-try-to-import-file/62514/1 "2022-07-31T10:13:50Z")

</div>

Hi  
I have 20MB geojson file (simple text file) and I want to import or copy and paste it into a web dev file resource and then show it on map.  
I try copy and paste and just import file but in both case my designer halt and crash.  
My designer set to 4GB of RAM.  
So I wander how much of the limitation of file that ignition can handle. In windows I can simply copy file and paste it into excel, note pad,… without any problem

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [August 1, 2022, 5:34am UTC](https://forum.inductiveautomation.com/t/designer-crash-when-try-to-import-file/62514/2 "2022-08-01T05:34:51Z")

</div>

Hi @pturmel  
Any idea on this one?

---

<div class="post-metadata">

**Author:** ![MMaynard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmaynard/32/3366_2.png) [@MMaynard](https://forum.inductiveautomation.com/u/MMaynard)\
**Post date:** [August 1, 2022, 11:38am UTC](https://forum.inductiveautomation.com/t/designer-crash-when-try-to-import-file/62514/3 "2022-08-01T11:38:35Z")

</div>

I would create a file resource in WebDev and copy the file to there.  
Then you can reference it in code instead of trying to import it using the designer.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 1, 2022, 12:38pm UTC](https://forum.inductiveautomation.com/t/designer-crash-when-try-to-import-file/62514/4 "2022-08-01T12:38:11Z")

</div>

Just played with similar. Locked up my designer, too. Slow changes in memory usage, so might finish someday. However, it would not have occurred to me to paste such a large file. Clipboards are not efficient.

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [August 1, 2022, 1:08pm UTC](https://forum.inductiveautomation.com/t/designer-crash-when-try-to-import-file/62514/5 "2022-08-01T13:08:56Z")

</div>

Yes I did it at first time. Even paste file into web dev file resource may crash designer and if it successfully done the http bind to this resource return nothing and freeze perspective  
So I just wonder how other applications show this kind of data.

---

<div class="post-metadata">

**Author:** ![MMaynard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmaynard/32/3366_2.png) [@MMaynard](https://forum.inductiveautomation.com/u/MMaynard)\
**Post date:** [August 1, 2022, 1:38pm UTC](https://forum.inductiveautomation.com/t/designer-crash-when-try-to-import-file/62514/6 "2022-08-01T13:38:06Z")

</div>

More than likely pulling from a database.  
If you are trying to actually load a full 20MB file in a browser I can see it locking up the GUI.

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [August 1, 2022, 6:51pm UTC](https://forum.inductiveautomation.com/t/designer-crash-when-try-to-import-file/62514/7 "2022-08-01T18:51:36Z")

</div>

But how Arcgis JavaScript API application can load it but we can’t ?

---

<div class="post-metadata">

**Author:** ![MMaynard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmaynard/32/3366_2.png) [@MMaynard](https://forum.inductiveautomation.com/u/MMaynard)\
**Post date:** [August 1, 2022, 8:15pm UTC](https://forum.inductiveautomation.com/t/designer-crash-when-try-to-import-file/62514/8 "2022-08-01T20:15:21Z")

</div>

I have not used Arcgis personally, but from just looking at the site they use backend servers to feed the data in layers and only present to the user what is required.

When you say you tried the File Resource in WebDev, did you copy the actual file to the location on the gateway or did you try and copy paste to it in Designer still?  
I have multiple folders on my WebDev that are just pointers at folder locations on the gateway, I use remote desktop and load files to the folder.  
Then I just reference the files from within WebDev.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 1, 2022, 8:42pm UTC](https://forum.inductiveautomation.com/t/designer-crash-when-try-to-import-file/62514/9 "2022-08-01T20:42:43Z")

</div>

A text resource lets you paste a file. Better not be too big.

@nader.chinichian : probably should just file the bug and move on. /:

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [August 2, 2022, 1:22am UTC](https://forum.inductiveautomation.com/t/designer-crash-when-try-to-import-file/62514/10 "2022-08-02T01:22:58Z")

</div>

I just point to local file on my hard drive.  
In perspective when I bind it using http the result in … and designer freeze.
