FPE Library Size |
Post Reply |
Author | |
jayfrancis
New User Joined: 12 Jan 2015 Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 19 Jan 2023 at 1:22pm |
Hi,
Going from Library Expert to Footprint Expert, my library size has dramatically increased (roughly 50K-ish to over 150M). Is this correct, or is something wrong with my library? I use GitHub to save/track my changes (I know - the fpx isn't optimized for that, but at least I can match it up with other files I change). Unfortunately, GitHub has a 100MB size limit :-( --Jay
|
|
Tom H
Admin Group Joined: 05 Jan 2012 Location: San Diego, CA Status: Offline Points: 5718 |
Post Options
Thanks(0)
|
When your FPX library grows in size, it's mostly due to "Special Characters" as the FPX file is 100% ASCII.
Open your old FPX file in Excel spreadsheet and find out where the issues are. If you clean up your FPX file in Excel, you need to copy the contents to Notepad.exe to convert the data back to ASCII. But we can do that for you.
Send us your old FPX file and we'll check it. |
|
jayfrancis
New User Joined: 12 Jan 2015 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
Thanks for your help Tom!
If anyone finds this thread - the culprit was a special character (TM symbol) in a component field. Tom was able to clear the error and bring the library back to a healthy state. --Jay
|
|
Ian S
Advanced User Joined: 21 Aug 2014 Status: Offline Points: 67 |
Post Options
Thanks(0)
|
Any chance you can add some code to check for special characters to prevent the FPX exponentially growing in size? I've seen the issue a couple of times and ended up with an FPX of >250 MB.
|
|
Jeff.M
Admin Group Joined: 16 May 2012 Location: San Diego Status: Offline Points: 477 |
Post Options
Thanks(0)
|
There is already code that's supposed to prevent that.
If you can provide an example of some text you've added to your fpx file that has caused your problem, we'll review the prevent code. Thanks for the report...
|
|
Ian S
Advanced User Joined: 21 Aug 2014 Status: Offline Points: 67 |
Post Options
Thanks(0)
|
Hi Jeff, If it happens again, I'll provide an example.
Can the code be expanded to check the FPX file for the existence of non-ascii characters when it's opened, and capture potential corruption, rather than just at data entry? Ian |
|
Tom H
Admin Group Joined: 05 Jan 2012 Location: San Diego, CA Status: Offline Points: 5718 |
Post Options
Thanks(0)
|
The FPX file is ASCII.
"Symbol Characters" are not allowed in an ASCII database. Do not use any special Symbols like these: ® © ™ µ ± |
|
Post Reply | |
Tweet |
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |