I have a i5-5200U @ 2.2GhZ, which I believe comes with an integrated Intel HD graphics 510. I have 4 GB of RAM installed, as this is a laptop.
With Windows 10, 4GB ram total, integrated graphics AND running to a separate server I'd suggest dropping the memory allocation to Java down to 2GB.
The reason for this is that you cannot allocate all of your physical memory to Java... What would be left for Win10 to run with? At best this leads to page swapping which slows a system down dramatically.
Also, with Integrated graphics, they are basically lying to you when they say you have 4GB ram, because some of that ram is "stolen" for video ram usage... If the GPU uses 256MB, you really only have 3.75GB available... if the GPU uses 512GB you have 3.5GB, etc.
When I say the ram is "stolen" I mean that it is shared between the CPU and GPU, much like the Apple II used to reserve 4KB (of a total 64KB) for video memory. Most add-on GPUs these days have their own dedicated ram (mine has 1GB) and don't use any system ram.
The best solution, if it's possible with your laptop and wallet, is to add ram. I just checked Fry's Electronics and they have Corsair DDR3 1600MHz 4GB SO-DIMM for $29.99. You'd want to check the ram part specifications for your system, of course.
The best case scenario would be that you have 1 4GB part installed with an empty socket, allowing you to just get a second
identically specced part.
Worst case is only having 1 socket with a 4GB and having to replace it with an 8GB part.
Most probable case would be having 2 sockets and 2 2GB parts... you could either pull 1 2GB part and add a 4GB part if your model allows that, or pull both 2GB parts and replace with 2 4GB parts.
TL;DR
Basically I think Java is overwriting your video ram block. Either adding ram or lowering your Java allocation to 2GB get rid of the display issue.