While at a settlement, drop all your extra weapons on the ground. Enter workshop mode, and click to store those weapons in your workbench. This will cause the game to think it has more space and you will see your size actually drop. Then, go back to your workbench and add them back to your personal inventory, and repeat this process until you have enough space to build more.
This article uses material from the Cheatcc and is licensed under the Creative Commons Attribution-ShareAlike License