#1. Taking up a Backup using ANT in Salesforce:
While using ANT for taking backup from any org and get following error java.lang.OutOfMemoryError: Java heap space
Please update your bat file by this
set ANT_OPTS=-Xmx1024m
ant -f build.xml -propertyfile build.properties -logger org.apache.tools.ant.listener. MailLogger
pause
Please update your bat file by this
set ANT_OPTS=-Xmx1024m
ant -f build.xml -propertyfile build.properties -logger org.apache.tools.ant.listener.
pause
#2. Auto Number feature in salesforce.:
Auto Number Type field's value continuously gets increased in data creation in Test Class ( even it is test class data is virtual/temporary data) .it affects Auto number in organisation..