question

HansPeterBittner-2181 avatar image
0 Votes"
HansPeterBittner-2181 asked HansPeterBittner-2181 answered

No free logical space for creating more of user strings

Windows 10, VS 2013 Professional, C#. My project contains a file with 61 MB source code. When I start debugging, the message occurs: "No free logical space for creating more of user strings." Error code CSC : fatal error CS0013. My computer has 8 GB RAM and my hard disk has 333 GB free space. Microsoft Visual C++ Redistributable Packages for Visual Studio 2013 Update 4 is installed. What can I do?

Original in German:
"VS 2013 Professional, C#. Mein Projekt enthält u.a. eine Datei mit ca. 61 MB Quellcode. Bei Debuggen starten erscheint die Fehlermeldung: "Kein freier logischer Speicherplatz zum Erstellen weiterer Benutzerzeichenfolgen." Was kann ich tun?"

dotnet-csharp
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Bruce-SqlWork avatar image
1 Vote"
Bruce-SqlWork answered

Your source code has hit the max limit of the the number of literal strings that can be created.

Example:

var foo = “bar”;

“bar” is a string literal. The reason is because c# creates a literal string table internally to be able to reuse duplicate values.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HansPeterBittner-2181 avatar image
0 Votes"
HansPeterBittner-2181 answered

Please can you tell me the max limit of the the number of literal strings that can be created?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.