Document size exceed 16683050 limit

Hi,

I’m getting following error while publishing and unable to debug my project

ERROR Workflow Analyzer error Document size exceed 16683050 limit

@Surendra_Kumar_Bonu,

Remove unnecessary files from the process and retry.

Thanks,
Ashok :slight_smile:

thnq @ashokkarale but still facing issue

@Surendra_Kumar_Bonu,

Have you tried to publish it on local machine and see the size of the nuget package?

There should be something may be some hidden files or something which is exciding the limit.

Thanks,
Ashok :slight_smile:

Hello,

I have same problem.
I can’t publish locally.
Is there a way to find the file(s) that exceed the limit?

thank you.

@DICT-OKTOX,

You will have to check manually which folder is eating up the memory.

Thanks,
Ashok :slightly_smiling_face:

Are you keeping data files, screenshots, etc in your project folders? You shouldn’t. Everything in or under the main project folder gets published with it. Config files, data files, log files, screenshots etc should be store outside the project folder.

Hello, thank you for your help. I have one file witch made 40 MB. see the scren shoot attached. Is that the problem come of this file ? if yes, how to reduce the size of this file ?

The image shows a directory listing with various folders and files, including text documents, Excel spreadsheets, JSON files, XAML files, and a PNG image, along with their respective sizes and modified dates in French. (Captioned by AI)

@DICT-OKTOX,

What’s coded in there which resulting in this much big size?

To confirm if that’s the reason or not, take the backup of the big xaml and delete the file from project. Comment out the invoke workflow for testing and then try to publish. If it is successful then, this the problem else there is something else.

Thanks,
Ashok :slight_smile:

ok thank you. i folowed your explications. in fact the probme come with size the big file.

You shouldn’t have Excel and text source files in your project folder.

What’s in that CreationDeDemandexDT-DICT.xaml file that’s making it so big? That’s not normal.

@DICT-OKTOX,

Good I was helpful. Go through the big file and see what’s in there which is making it big. Best practice would be, applying the workflow in logical seperate smaller workflows. It really makes the code readable, traceable.

You can close the thread by marking my answer as solution. If you have any questions on the big file, feel free to create separate thread.

Cheers!

Thanks,
Ashok :slightly_smiling_face: