Arduino Nano ESP32 can't upload large code

Hi Everybody,

I run into an upload problem: step by step developing my program, I reached a size limit where i cant upload the full code any more.
While there are a plenty of room for code:
RAM: [== ] 18.5% (used 60560 bytes from 327680 bytes)
Flash: [====== ] 55.3% (used 1088161 bytes from 1966080 bytes)
the upload process stops at 95%:
Download [======================= ] 92% 1007616 bytes
Download [======================= ] 95% 1040384 bytes failed!
DFU state(10) = dfuERROR, status(3) = Device is unable to write memory
**** [upload] Error 74*
I’ve tried many suggestion about the partitions.csv setting, but noe of the solved this problem.
Has anybody any idea?
Thanks in advance!

Does this happen in the Arduino IDE too with the same code sizes?

Well, I generated a similar size code on Arduino IDE 2.3.2 and the result is the same:
Download [====================== ] 88% 987136 bytes
Download [======================= ] 92% 1032192 bytes failed!
DFU state(10) = dfuERROR, status(3) = Device is unable to write memory
Failed uploading: uploading error: exit status 74

Good. That means you should be able to receive support from https://github.com/espressif/arduino-esp32/issues.