adccommunitymod (AutomationDirect) asked a question.

RTE-001: Log Failed. Not enough Memory Space in Trends_Power_121122.txt

Created Date: December 04,2012

Created By: kevindedwards

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

I am using a 15 " Cmore screen with DL260 PLC. I am logging trend data onto the compact flash card in the Cmore. After running for about 6 months, I am getting this error, flashing at the top of the screen: RTE-001: Log Failed. Not enough Memory Space in Trends_Power_121122.txt I checked, and the 4 GB compact flash card is nowhere near full - only 44.6 MB used. The Log folder contains 3,230 .txt files, totaling 40.4 MB. So we are nowhere near having a full drive. No files have been created newer than the file for the error message - November 22, 2012. (Today is Dec. 4, 2012). Is this a file system limitation? The CF card is formatted as FAT - I think this means FAT16. Can I format the CF card as FAT32 and get around this problem? Or, do I have to occasionally clean out the Log directory so it can continue to write new log files? Is there some other solution? Thanks, Kevin


  • adccommunitymod (AutomationDirect)

    Created Date: December 04,2012

    Created by: Do-more PE

    It could be that all of the clusters are used up. FAT16 only allows 65,535 clusters with a max size of 2Gb.

    The other thing that it could be is that you have more than 999 filenames that start with the first four letters. Cmore internally uses the 8.3 filenaming convention so if you have six trends that all start with "Trend " they all end up with names like Tren~001.txt with each number being different from 0 to 999. This uses up all of the available naming fairly fast. The solution is to rename each trend graph with a unique name.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: December 04,2012

    Created by: kevindedwards

    I have not yet hit the 999 file limit for any of the file name beginnings.

    Even if I did name each trend something different, like aaaa, bbbb, etc., each one would eventually use up all 1000 spots (aaaa~001 - aaaa~999). With one log file per day, this will take less than 3 years.

    I can rename the trends with single-letter names, so the file would look like:

    a_12~001

    Where the trend is called "a " and the _12 is added automatically by the Cmore for the date - 12 being the current year. That way, we'd only get files named a_12~001 through a_12~365 in a given year, then the year would change and we'd start fresh with a_13~001.

    This will work for all the trend logs, but the alarm log is still a problem. Every day, an alarm log is created with a name like "Alarm_120523.txt ". With the 8.3 naming convention, they will all be shortened to "alar~001 ", etc. After 2.75 years, alarm logging will stop. Is there a way to change the filename prefix for the alarm log files? Or, if this is fixed, does the Cmore have a clever way of handling this?

    Thanks,

    Kevin

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: December 04,2012

    Created by: kevindedwards

    Excuse me, I have gone over the 1000-file limit for similar filenames.

    I have 1104 files with names starting with "Week ". But shouldn't this have stopped at 1000?

    Kevin

  • adccommunitymod (AutomationDirect)

    Created Date: December 04,2012

    Created by: kevindedwards

    The FAT file system does not appear to have a limitation at 1000 file names. In the Log directory, I used the command line with this command:

    dir /x

    which displays both the short 8.3 filenames and the long filenames.

    A file named "Alarm_120615.txt " has a short name of "AL8821~2.TXT ". This does not fit the expected naming pattern, and leaves plenty of space for much more than 1000 similarly-named files.

    If we are not running out of naming space, perhaps the problem is the cluster limit. I'm going to try reformatting the card as FAT32 and see what happens.

    -Kevin

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: December 05,2012

    Created by: HMI Eng

    The Log File names begin with the Screen Name then Object Name, "Screen1-LineTrendGraph1 " will be Scre~001.txt. So if your Screens that contain your trends have the same first 4 letters like the example and you have multiple trends on each screen, then you will hit the 999 file limit pretty quick.

  • adccommunitymod (AutomationDirect)

    Created Date: December 04,2012

    Created by: kevindedwards

    I am using a 15 " Cmore screen with DL260 PLC. I am logging trend data onto the compact flash card in the Cmore. After running for about 6 months, I am getting this error, flashing at the top of the screen:

    RTE-001: Log Failed. Not enough Memory Space in Trends_Power_121122.txt

    I checked, and the 4 GB compact flash card is nowhere near full - only 44.6 MB used. The Log folder contains 3,230 .txt files, totaling 40.4 MB. So we are nowhere near having a full drive. No files have been created newer than the file for the error message - November 22, 2012. (Today is Dec. 4, 2012).

    Is this a file system limitation? The CF card is formatted as FAT - I think this means FAT16.

    Can I format the CF card as FAT32 and get around this problem? Or, do I have to occasionally clean out the Log directory so it can continue to write new log files? Is there some other solution?

    Thanks,

    Kevin

    Expand Post