  Potential of the LHeC for probing small x(g) region via c\bar{c} and b\bar{b}
production have been investigated. Obtained results clearly show the advantage
of gamma-p collider option. Measurement of x(g) down to 3\times10^{-6} seems to
be reachable which is two order smaller than HERA coverage.
