is there any other way to use cloudera on windows with total 4gb ram?
@_heisenberg No, sorry to say that. I would suggest you to go for some Cloud Provider like AWS and create a Free tier account and you can play for meantime with some minimal charges, the only way I can think of at this moment.
NOTE: You can give it a try with CDH5 quick start VM, but I am afraid you will not be able to play much with product then. It will marly survive.