Big file size of .tg3

General discussion about TexGen.

Moderators: Martin, Developers

Post Reply
sooriyan
Regular
Posts: 10
Joined: Tue Mar 24, 2020 1:55 pm

Big file size of .tg3

Post by sooriyan »

I wrote a python code to generate a textile without GUI and its doing it right. The .tg3 file generated was of size 450 kb. But when i changed the python code to take in input from the user and generate the same textile the .tg3 file generated is of size 3 mb and texgen is crashing when i load the generated file. Can someone say me why it occurs so?
louisepb
Project Leader
Posts: 998
Joined: Tue Dec 08, 2009 2:27 pm
Location: Nottingham

Re: Big file size of .tg3

Post by louisepb »

Hi,
Without seeing your code it's difficult to speculate. The only thing I can think of is that you've saved them in different formats. A full description of the tg3 file is given here http://texgen.sourceforge.net/index.php ... at#Minimal

The tg3 file is simply a renamed xml file so you can open it in a text editor and see what's actually been saved.

Hope that helps,
Louise
sooriyan
Regular
Posts: 10
Joined: Tue Mar 24, 2020 1:55 pm

Re: Big file size of .tg3

Post by sooriyan »

Hi louisepb,

Thanks for the information. But the problem somehow got cleared automatically after a while. I couldnt figure out what caused it. When i saved it the same code now it is taking same storage for both the files. The next time such glitch comes i will look through the .tg3 file for both the cases and see the difference,

Thank you
Post Reply