The only thing I can suggest is that you give us a little more information about your specific application and what error messages you are getting.
The only difference I observe between our two limits.conf file is that my setting isn't soft:
# - memlock - max locked-in-memory address space (KB)
# - nofile - max number of open files (smythies.com - so Samba will not complain)
* - nofile 16384
# - rss - max resident set size (KB)
# - stack - max stack size (KB)
Any follow-up information on your issue would be appreciated. Please have the courtesy to report back.