Unpredictable failure to compile for Targets UNO and Nanao

I am nowhere near the maximum memory usage for my boards, but the compiler rejects the compile on a target resources basis. I have F()'d the few strings, reduced the serial RX and TX buffers to the bare minimum and optimized my code to minimize "float" operations. Only including the TimerOne header resources. I had a much larger target compiling satisfactorily, but when debugging, I REDUCE my source code by commenting out sections and the compiler then fails to compile - blaming my target boards. I am a VERY experienced microcomputer programmer and was enjoying the Arduino environment until this compiler behavior started. I am using release 1.6.13 of the IDE. Has anyone else experienced this bizarre compiler behavior ?

You haven't provided enough information for us to be able to help you. When you encounter an error you will see a button on the right side of the Arduino IDE "Copy error messages". Click that button then paste the error in a reply here using code tags (</> button on the toolbar).

Hello Pert - You will note that I was asking if other users had experienced this sort of behaviour - obviously a failure in resource allocation at compile time - stock responses, such as yours, do not address my query - I will wait to see if others report similar issues before I get into circumscribed reporting such as you're advocating - thank You !

What does "rejects the compile on a target resources basis" even mean? Presumably it shows some error.

Please post the full text of any and all error messages - if you don't post the error message, nobody can tell you if they experience similar issues because we don't know what the issue you're experiencing is.

Here is the compiler message -
Arduino: 1.6.13 (Windows XP), Board: "Arduino Nano, ATmega328"

collect2.exe: error: ld returned 5 exit status

exit status 1
Error compiling for board Arduino Nano.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I actually had to move to another source code file to produce this message, which was justified in this case. The message (and failure to program the target board) has appeared almost randomly as I added to or sometimes subtracted from) the source code. Please see my prior comments.

OK, now that you've made the effort to actually post the error we can help you, though you disregarded my instructions about the code tags.

This is a well known issue that occurs when using Windows XP. If you had spend a few minutes searching the forum you surely would have found the answer. The Arduino developers have recently made what they believe is a fix for the issue but it is only available in the hourly build:

For more information, and other workarounds, see
https://forum.arduino.cc/index.php?topic=310950
and
https://github.com/arduino/Arduino/issues/2989