LDAP Configuration

What is the maximum memory we can specify in the IS Server config file?
Does anybody worked in configuring MWS to LDAP servers? If yes, let me know how to configure the Global,User & Group attributes.