Welcome to HealthcareMagic.
You can call this black out .This can happen due to excess stress , eye disease like cataract
, or cerebrovascular disease
.It is necessary for you to visit your Physician and get examined.If needed you may have to get few investigations like ECG , CT scan
done to rule out any disease in brain and heart.
Initially avoid working on computer for long hours continuously.Please take frequent breaks , take adequate water.Practice yoga or meditation