Need to add config setting in sqldeveloper.conf, which is located here
C:\[Installation Folder]\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
add below config setting
AddVMOption -Dide.user.dir=C:\[Your Own Folder]\ApplicationData\SQLDeveloper
AddVMOption -Xmx300M
C:\[Your Own Folder]\ApplicationData\SQLDeveloper – is where the application data stored to avoid increasing user profile space. Preferably inside the installation folder, since sqldeveloper is portable