But the kernel has been known to behave strangely when it does not have ANY swap space at all. Even 10MB could solve the problem.
That would, then, point to a kernel bug that needs to be fixed. Swap space is a luxury that not all systems have. Most embedded environments don't even have disks.
Adding swap isn't a solution--it's a workaround. If, indeed, it *does* fix your problem, you should include that detail in your bug report.